Index: Source/core/html/parser/HTMLParserOptions.cpp |
diff --git a/Source/core/html/parser/HTMLParserOptions.cpp b/Source/core/html/parser/HTMLParserOptions.cpp |
index 7de381baf0b6fe13dab5495d8143dcbbb208c81c..eb8e0ec51832b18aec4d21e4f89870ce0d1e08c0 100644 |
--- a/Source/core/html/parser/HTMLParserOptions.cpp |
+++ b/Source/core/html/parser/HTMLParserOptions.cpp |
@@ -37,7 +37,7 @@ namespace WebCore { |
HTMLParserOptions::HTMLParserOptions(Document* document) |
{ |
Frame* frame = document ? document->frame() : 0; |
- scriptEnabled = frame && frame->script()->canExecuteScripts(NotAboutToExecuteScript); |
+ scriptEnabled = frame && frame->script().canExecuteScripts(NotAboutToExecuteScript); |
pluginsEnabled = frame && frame->loader()->allowPlugins(NotAboutToInstantiatePlugin); |
Settings* settings = document ? document->settings() : 0; |