Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley

This commit is contained in:
Sankha Narayan Guria
2013-05-06 09:04:17 -04:00
parent d41dc71b8b
commit b4a935c1df
25 changed files with 36 additions and 36 deletions

View File

@@ -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) {