| Index: Source/core/fetch/ResourceFetcher.cpp
|
| diff --git a/Source/core/fetch/ResourceFetcher.cpp b/Source/core/fetch/ResourceFetcher.cpp
|
| index a70e79ee4d91a7715082acb28f181730f1a634c1..240af5d6f13d2a0167cd8dd7c6fc9821acdab35f 100644
|
| --- a/Source/core/fetch/ResourceFetcher.cpp
|
| +++ b/Source/core/fetch/ResourceFetcher.cpp
|
| @@ -630,6 +630,14 @@ bool ResourceFetcher::resourceNeedsLoad(Resource* resource, const FetchRequest&
|
| return request.options().synchronousPolicy == RequestSynchronously && resource->isLoading();
|
| }
|
|
|
| +void ResourceFetcher::maybeNotifyInsecureContent(const Resource* resource) const
|
| +{
|
| + // As a side effect browser will be notified.
|
| + MixedContentChecker::shouldBlockFetch(frame(),
|
| + resource->lastResourceRequest(),
|
| + resource->lastResourceRequest().url());
|
| +}
|
| +
|
| void ResourceFetcher::requestLoadStarted(Resource* resource, const FetchRequest& request, ResourceLoadStartType type)
|
| {
|
| if (type == ResourceLoadingFromCache)
|
|
|