Index: Source/bindings/core/v8/NPV8Object.cpp |
diff --git a/Source/bindings/core/v8/NPV8Object.cpp b/Source/bindings/core/v8/NPV8Object.cpp |
index e87af25b7a6746c0c98eaa2653c71134d9d469e4..eea4a5fe03010974cfd35790acf012ca326b39a8 100644 |
--- a/Source/bindings/core/v8/NPV8Object.cpp |
+++ b/Source/bindings/core/v8/NPV8Object.cpp |
@@ -204,6 +204,8 @@ void disposeUnderlyingV8Object(NPObject* npObject, v8::Isolate* isolate) |
bool _NPN_Invoke(NPP npp, NPObject* npObject, NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result) |
{ |
+ ScriptForbiddenScope::SuppressScriptForbiddenScopeInRelease thisSuppressionShouldBeRemoved; |
+ |
if (!npObject) |
return false; |
@@ -269,6 +271,8 @@ bool _NPN_Invoke(NPP npp, NPObject* npObject, NPIdentifier methodName, const NPV |
// FIXME: Fix it same as _NPN_Invoke (HandleScope and such). |
bool _NPN_InvokeDefault(NPP npp, NPObject* npObject, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result) |
{ |
+ ScriptForbiddenScope::SuppressScriptForbiddenScopeInRelease thisSuppressionShouldBeRemoved; |
+ |
if (!npObject) |
return false; |
@@ -324,6 +328,8 @@ bool _NPN_Evaluate(NPP npp, NPObject* npObject, NPString* npScript, NPVariant* r |
bool _NPN_EvaluateHelper(NPP npp, bool popupsAllowed, NPObject* npObject, NPString* npScript, NPVariant* result) |
{ |
+ ScriptForbiddenScope::SuppressScriptForbiddenScopeInRelease thisSuppressionShouldBeRemoved; |
+ |
VOID_TO_NPVARIANT(*result); |
if (!npObject) |
return false; |