Backed out changeset 3b73e9c7a5d0 for orange
This commit is contained in:
@@ -1211,8 +1211,7 @@ _getwindowobject(NPP npp)
|
||||
// Using ::JS_GetGlobalObject(cx) is ok here since the window we
|
||||
// want to return here is the outer window, *not* the inner (since
|
||||
// we don't know what the plugin will do with it).
|
||||
JS::Rooted<JSObject*> global(cx, ::JS_GetGlobalObject(cx));
|
||||
return nsJSObjWrapper::GetNewOrUsed(npp, cx, global);
|
||||
return nsJSObjWrapper::GetNewOrUsed(npp, cx, ::JS_GetGlobalObject(cx));
|
||||
}
|
||||
|
||||
NPObject* NP_CALLBACK
|
||||
|
||||
Reference in New Issue
Block a user