| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index 3fa8a3f555a870bc50c7390dd53538b0398635b4..84646ff8826a6c1a756ae0b580b3e25571219be7 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -2160,11 +2160,18 @@
|
| const WebURL& mixedContentUrl,
|
| WebURLRequest::RequestContext requestContext,
|
| bool wasAllowed,
|
| - bool hadRedirect) {
|
| - DCHECK(frame());
|
| - MixedContentChecker::mixedContentFound(frame(), mainResourceUrl,
|
| - mixedContentUrl, requestContext,
|
| - wasAllowed, hadRedirect);
|
| + bool hadRedirect,
|
| + const WebSourceLocation& sourceLocation) {
|
| + DCHECK(frame());
|
| + std::unique_ptr<SourceLocation> source;
|
| + if (!sourceLocation.url.isNull()) {
|
| + source =
|
| + SourceLocation::create(sourceLocation.url, sourceLocation.lineNumber,
|
| + sourceLocation.columnNumber, nullptr);
|
| + }
|
| + MixedContentChecker::mixedContentFound(
|
| + frame(), mainResourceUrl, mixedContentUrl, requestContext, wasAllowed,
|
| + hadRedirect, std::move(source));
|
| }
|
|
|
| void WebLocalFrameImpl::sendOrientationChangeEvent() {
|
|
|