| Index: Source/core/loader/FrameFetchContext.cpp
|
| diff --git a/Source/core/loader/FrameFetchContext.cpp b/Source/core/loader/FrameFetchContext.cpp
|
| index 9777c19c71ef2d4d4099050f06e3b73fcdb770ba..74b0d0184763794efb9c2f7cd82255e3db117818 100644
|
| --- a/Source/core/loader/FrameFetchContext.cpp
|
| +++ b/Source/core/loader/FrameFetchContext.cpp
|
| @@ -346,7 +346,7 @@ void FrameFetchContext::printAccessDeniedMessage(const KURL& url) const
|
| frame()->document()->addConsoleMessage(ConsoleMessage::create(SecurityMessageSource, ErrorMessageLevel, message));
|
| }
|
|
|
| -bool FrameFetchContext::canRequest(Resource::Type type, const ResourceRequest& resourceRequest, const KURL& url, const ResourceLoaderOptions& options, bool forPreload, FetchRequest::OriginRestriction originRestriction) const
|
| +bool FrameFetchContext::canRequest(Resource::Type type, ResourceRequest& resourceRequest, const KURL& url, const ResourceLoaderOptions& options, bool forPreload, FetchRequest::OriginRestriction originRestriction) const
|
| {
|
| SecurityOrigin* securityOrigin = options.securityOrigin.get();
|
| if (!securityOrigin && m_document)
|
| @@ -510,7 +510,7 @@ bool FrameFetchContext::canRequest(Resource::Type type, const ResourceRequest& r
|
|
|
| MixedContentChecker::ReportingStatus mixedContentReporting = forPreload ?
|
| MixedContentChecker::SuppressReport : MixedContentChecker::SendReport;
|
| - return !MixedContentChecker::shouldBlockFetch(effectiveFrame, resourceRequest, url, mixedContentReporting);
|
| + return !MixedContentChecker::shouldBlockFetch(effectiveFrame, &resourceRequest, url, mixedContentReporting);
|
| }
|
|
|
| bool FrameFetchContext::isControlledByServiceWorker() const
|
|
|