Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / bindings / v8 / custom / V8WorkerGlobalScopeCustom.cpp
index 1863af5..7f55216 100644 (file)
@@ -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->allowEval()) {
+            if (!policy->allowScriptEval()) {
                 v8SetReturnValue(info, 0);
                 return;
             }