Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley

This commit is contained in:
Jim Blandy
2015-04-08 21:23:48 -04:00
parent b005f5b348
commit f94dd3b1df
30 changed files with 99 additions and 56 deletions

View File

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