Index: Source/bindings/v8/ScriptController.cpp |
diff --git a/Source/bindings/v8/ScriptController.cpp b/Source/bindings/v8/ScriptController.cpp |
index f1ddd51290060540fcc979b9445c3b0db20a6be6..d52f3553085c8cdc3ef39fde31d07a342fb5868d 100644 |
--- a/Source/bindings/v8/ScriptController.cpp |
+++ b/Source/bindings/v8/ScriptController.cpp |
@@ -559,7 +559,7 @@ bool ScriptController::canExecuteScripts(ReasonForCallingCanExecuteScripts reaso |
} |
Settings* settings = m_frame->settings(); |
- const bool allowed = m_frame->loader().client()->allowScript(settings && settings->isScriptEnabled()); |
+ const bool allowed = m_frame->loader().client()->allowScript(settings && settings->scriptEnabled()); |
if (!allowed && reason == AboutToExecuteScript) |
m_frame->loader().client()->didNotAllowScript(); |
return allowed; |