Index: Source/bindings/core/v8/NPV8Object.cpp |
diff --git a/Source/bindings/core/v8/NPV8Object.cpp b/Source/bindings/core/v8/NPV8Object.cpp |
index 6db91ed61db76b81029da21c1b54e55dcfe49624..22f5931b11972f514a52372b77c585747a34c360 100644 |
--- a/Source/bindings/core/v8/NPV8Object.cpp |
+++ b/Source/bindings/core/v8/NPV8Object.cpp |
@@ -40,7 +40,6 @@ |
#include "bindings/core/v8/npruntime_priv.h" |
#include "core/frame/LocalDOMWindow.h" |
#include "core/frame/LocalFrame.h" |
-#include "platform/ScriptForbiddenScope.h" |
#include "platform/UserGestureIndicator.h" |
#include "wtf/OwnPtr.h" |
#include "wtf/StringExtras.h" |
@@ -343,9 +342,6 @@ |
bool _NPN_EvaluateHelper(NPP npp, bool popupsAllowed, NPObject* npObject, NPString* npScript, NPVariant* result) |
{ |
VOID_TO_NPVARIANT(*result); |
- if (ScriptForbiddenScope::isScriptForbidden()) |
- return false; |
- |
if (!npObject) |
return false; |