| Index: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| index 95da7c8c41efdbdb04b95ea8411ba67430980a6d..21d5e070a42b0dfaa8f2da0329e48759df2d5c1d 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| @@ -104,7 +104,6 @@ void CSPDirectiveList::reportViolationWithState(const String& directiveText, con
|
| // a violation.)
|
| if (m_reportOnly || exceptionStatus == ContentSecurityPolicy::WillNotThrowException) {
|
| ConsoleMessage* consoleMessage = ConsoleMessage::create(SecurityMessageSource, ErrorMessageLevel, reportMessage);
|
| - consoleMessage->setScriptState(scriptState);
|
| m_policy->logToConsole(consoleMessage);
|
| }
|
| m_policy->reportViolation(directiveText, effectiveDirective, message, blockedURL, m_reportEndpoints, m_header, ContentSecurityPolicy::EvalViolation);
|
|
|