Index: Source/core/frame/ContentSecurityPolicy.cpp |
diff --git a/Source/core/frame/ContentSecurityPolicy.cpp b/Source/core/frame/ContentSecurityPolicy.cpp |
index 9d7e6a3c4d8f60f3de6a7d2ef089705e753daaf5..7d76a0375b28a35365265a0b830ee8c9e141e624 100644 |
--- a/Source/core/frame/ContentSecurityPolicy.cpp |
+++ b/Source/core/frame/ContentSecurityPolicy.cpp |
@@ -1884,7 +1884,7 @@ bool ContentSecurityPolicy::shouldBypassMainWorld(ExecutionContext* context) |
if (context && context->isDocument()) { |
Document* document = toDocument(context); |
if (document->frame()) |
- return document->frame()->script()->shouldBypassMainWorldContentSecurityPolicy(); |
+ return document->frame()->script().shouldBypassMainWorldContentSecurityPolicy(); |
} |
return false; |
} |