Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley
This commit is contained in:
@@ -1262,7 +1262,7 @@ _getstringidentifier(const NPUTF8* name)
|
||||
NPN_PLUGIN_LOG(PLUGIN_LOG_ALWAYS,("NPN_getstringidentifier called from the wrong thread\n"));
|
||||
}
|
||||
|
||||
SafeAutoJSContext cx;
|
||||
AutoSafeJSContext cx;
|
||||
JSAutoRequest ar(cx);
|
||||
return doGetIdentifier(cx, name);
|
||||
}
|
||||
@@ -1275,7 +1275,7 @@ _getstringidentifiers(const NPUTF8** names, int32_t nameCount,
|
||||
NPN_PLUGIN_LOG(PLUGIN_LOG_ALWAYS,("NPN_getstringidentifiers called from the wrong thread\n"));
|
||||
}
|
||||
|
||||
SafeAutoJSContext cx;
|
||||
AutoSafeJSContext cx;
|
||||
JSAutoRequest ar(cx);
|
||||
|
||||
for (int32_t i = 0; i < nameCount; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user