| Index: third_party/WebKit/Source/core/loader/MixedContentChecker.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp b/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp
|
| index b08f428013066e152ccc018b0e019b69c25e2559..1d2013a0a43f0d0e5cc0552acb6c0ce84500cdf5 100644
|
| --- a/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp
|
| @@ -315,6 +315,8 @@ bool MixedContentChecker::shouldBlockFetch(LocalFrame* frame, WebURLRequest::Req
|
| return false;
|
|
|
| MixedContentChecker::count(mixedFrame, requestContext);
|
| + if (ContentSecurityPolicy* policy = frame->securityContext()->contentSecurityPolicy())
|
| + policy->reportMixedContent(url);
|
|
|
| Settings* settings = mixedFrame->settings();
|
| // Use the current local frame's client; the embedder doesn't
|
| @@ -405,6 +407,8 @@ bool MixedContentChecker::shouldBlockWebSocket(LocalFrame* frame, const KURL& ur
|
|
|
| UseCounter::count(mixedFrame, UseCounter::MixedContentPresent);
|
| UseCounter::count(mixedFrame, UseCounter::MixedContentWebSocket);
|
| + if (ContentSecurityPolicy* policy = frame->securityContext()->contentSecurityPolicy())
|
| + policy->reportMixedContent(url);
|
|
|
| Settings* settings = mixedFrame->settings();
|
| // Use the current local frame's client; the embedder doesn't
|
|
|