Index: Source/bindings/v8/custom/V8WindowCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8WindowCustom.cpp b/Source/bindings/v8/custom/V8WindowCustom.cpp |
index 49ed6229bd0fc457a89e56998f04b67413c34e32..a1396f50170d1a86700c5664f0529c5eec0c90c7 100644 |
--- a/Source/bindings/v8/custom/V8WindowCustom.cpp |
+++ b/Source/bindings/v8/custom/V8WindowCustom.cpp |
@@ -128,7 +128,7 @@ void windowSetTimeoutImpl(const v8::FunctionCallbackInfo<v8::Value>& info, bool |
ASSERT(imp->frame()); |
action = adoptPtr(new ScheduledAction(context, v8::Handle<v8::Function>::Cast(function), paramCount, params.get(), info.GetIsolate())); |
} else { |
- if (imp->document() && !imp->document()->contentSecurityPolicy()->allowScriptEval()) { |
+ if (imp->document() && !imp->document()->contentSecurityPolicy()->allowEval()) { |
v8SetReturnValue(info, 0); |
return; |
} |