Make JSErrorNotes Single Threaded.
This commit is contained in:
parent
0e2b6e8609
commit
165084547d
|
@ -6350,7 +6350,7 @@ CreateErrorNoteVA(ExclusiveContext* cx,
|
|||
}
|
||||
|
||||
bool
|
||||
JSErrorNotes::addNoteASCII(JSContext* cx,
|
||||
JSErrorNotes::addNoteASCII(ExclusiveContext* cx,
|
||||
const char* filename, unsigned lineno, unsigned column,
|
||||
JSErrorCallback errorCallback, void* userRef,
|
||||
const unsigned errorNumber, ...)
|
||||
|
@ -6369,7 +6369,7 @@ JSErrorNotes::addNoteASCII(JSContext* cx,
|
|||
}
|
||||
|
||||
bool
|
||||
JSErrorNotes::addNoteLatin1(JSContext* cx,
|
||||
JSErrorNotes::addNoteLatin1(ExclusiveContext* cx,
|
||||
const char* filename, unsigned lineno, unsigned column,
|
||||
JSErrorCallback errorCallback, void* userRef,
|
||||
const unsigned errorNumber, ...)
|
||||
|
@ -6388,7 +6388,7 @@ JSErrorNotes::addNoteLatin1(JSContext* cx,
|
|||
}
|
||||
|
||||
bool
|
||||
JSErrorNotes::addNoteUTF8(JSContext* cx,
|
||||
JSErrorNotes::addNoteUTF8(ExclusiveContext* cx,
|
||||
const char* filename, unsigned lineno, unsigned column,
|
||||
JSErrorCallback errorCallback, void* userRef,
|
||||
const unsigned errorNumber, ...)
|
||||
|
|
|
@ -5439,15 +5439,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, ...);
|
||||
|
|
Loading…
Reference in New Issue
Block a user