Index: third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp |
diff --git a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp |
index addd65a36ff504049b3b8e2263716b6af6e20fe3..e2cc8c7057f4deaec562d4226dac16c3eaeb80b6 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp |
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp |
@@ -1042,7 +1042,7 @@ void ContentSecurityPolicy::logToConsole(ConsoleMessage* consoleMessage, LocalFr |
void ContentSecurityPolicy::reportBlockedScriptExecutionToInspector(const String& directiveText) const |
{ |
- m_executionContext->reportBlockedScriptExecutionToInspector(directiveText); |
+ InspectorInstrumentation::scriptExecutionBlockedByCSP(m_executionContext, directiveText); |
} |
bool ContentSecurityPolicy::experimentalFeaturesEnabled() const |