Bug 1254847 part 3. Make AutoEntryScript always take ownership of error reporting. r=bholley

This commit is contained in:
Boris Zbarsky
2016-03-09 19:02:03 -05:00
parent 2fd4be7bc7
commit 63091385d1
25 changed files with 23 additions and 64 deletions

View File

@@ -1357,7 +1357,6 @@ _evaluate(NPP npp, NPObject* npobj, NPString *script, NPVariant *result)
nsAutoMicroTask mt;
dom::AutoEntryScript aes(win, "NPAPI NPN_evaluate");
aes.TakeOwnershipOfErrorReporting();
JSContext* cx = aes.cx();
JS::Rooted<JSObject*> obj(cx, nsNPObjWrapper::GetNewOrUsed(npp, cx, npobj));