Index: Source/bindings/core/v8/NPV8Object.cpp |
diff --git a/Source/bindings/core/v8/NPV8Object.cpp b/Source/bindings/core/v8/NPV8Object.cpp |
index 3bc172b11eac7ee134b429745e6814653e10e829..c694841c0a482a814d55caa565e0e28254ecfc0f 100644 |
--- a/Source/bindings/core/v8/NPV8Object.cpp |
+++ b/Source/bindings/core/v8/NPV8Object.cpp |
@@ -226,8 +226,6 @@ 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::AllowSuperUnsafeScript thisShouldBeRemoved; |
- |
if (!npObject) |
return false; |
@@ -293,8 +291,6 @@ 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::AllowSuperUnsafeScript thisShouldBeRemoved; |
- |
if (!npObject) |
return false; |
@@ -350,8 +346,6 @@ 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::AllowSuperUnsafeScript thisShouldBeRemoved; |
- |
VOID_TO_NPVARIANT(*result); |
if (!npObject) |
return false; |