Index: Source/bindings/v8/custom/V8WorkerGlobalScopeCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8WorkerGlobalScopeCustom.cpp b/Source/bindings/v8/custom/V8WorkerGlobalScopeCustom.cpp |
index 7f5521605c0de404807ec4fee2bdaf9ce77e2ab3..1863af5992cc6ceb1bf7f69e468c6127a9d8d0a2 100644 |
--- a/Source/bindings/v8/custom/V8WorkerGlobalScopeCustom.cpp |
+++ b/Source/bindings/v8/custom/V8WorkerGlobalScopeCustom.cpp |
@@ -65,7 +65,7 @@ void SetTimeoutOrInterval(const v8::FunctionCallbackInfo<v8::Value>& info, bool |
v8::Handle<v8::Context> v8Context = script->context(); |
if (function->IsString()) { |
if (ContentSecurityPolicy* policy = workerGlobalScope->contentSecurityPolicy()) { |
- if (!policy->allowScriptEval()) { |
+ if (!policy->allowEval()) { |
v8SetReturnValue(info, 0); |
return; |
} |