summaryrefslogtreecommitdiffstats
path: root/js/src/jsapi.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-07-07 14:41:27 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:31 -0400
commit3765f057896718bfca3056728a485448bfb411cb (patch)
tree545cb2e4908b802555b9730e97eb6cdb0b0bb3ef /js/src/jsapi.h
parent9a7113f7c8d89d27558942f42603c4edee779d20 (diff)
downloadUXP-3765f057896718bfca3056728a485448bfb411cb.tar
UXP-3765f057896718bfca3056728a485448bfb411cb.tar.gz
UXP-3765f057896718bfca3056728a485448bfb411cb.tar.lz
UXP-3765f057896718bfca3056728a485448bfb411cb.tar.xz
UXP-3765f057896718bfca3056728a485448bfb411cb.zip
Make JSErrorNotes Single Threaded
Diffstat (limited to 'js/src/jsapi.h')
-rw-r--r--js/src/jsapi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/src/jsapi.h b/js/src/jsapi.h
index 99100620a..d00562588 100644
--- a/js/src/jsapi.h
+++ b/js/src/jsapi.h
@@ -5438,15 +5438,15 @@ class JSErrorNotes
~JSErrorNotes();
// Add an note to the given position.
- bool addNoteASCII(JSContext* cx,
+ bool addNoteASCII(js::ExclusiveContext* cx,
const char* filename, unsigned lineno, unsigned column,
JSErrorCallback errorCallback, void* userRef,
const unsigned errorNumber, ...);
- bool addNoteLatin1(JSContext* cx,
+ bool addNoteLatin1(js::ExclusiveContext* cx,
const char* filename, unsigned lineno, unsigned column,
JSErrorCallback errorCallback, void* userRef,
const unsigned errorNumber, ...);
- bool addNoteUTF8(JSContext* cx,
+ bool addNoteUTF8(js::ExclusiveContext* cx,
const char* filename, unsigned lineno, unsigned column,
JSErrorCallback errorCallback, void* userRef,
const unsigned errorNumber, ...);