Bug 1521732 - Part 5: RootedObjectVector. r=sfink,jonco
s/AutoObjectVector/RootedObjectVector/g Depends on D23185 Differential Revision: https://phabricator.services.mozilla.com/D23186
This commit is contained in:
@@ -984,7 +984,7 @@ bool _evaluate(NPP npp, NPObject *npobj, NPString *script, NPVariant *result) {
|
||||
JS::CompileOptions options(cx);
|
||||
options.setFileAndLine(spec, 0);
|
||||
JS::Rooted<JS::Value> rval(cx);
|
||||
JS::AutoObjectVector scopeChain(cx);
|
||||
JS::RootedVector<JSObject*> scopeChain(cx);
|
||||
if (!JS_IsGlobalObject(obj) && !scopeChain.append(obj)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user