| Index: third_party/WebKit/Source/core/loader/WorkerFetchContext.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/WorkerFetchContext.cpp b/third_party/WebKit/Source/core/loader/WorkerFetchContext.cpp
|
| index cbda72d44c5e427ebc473ee644d909fd8fde02d2..9f21b6665a3165a2db2e9d5eefa2935a9790a0b4 100644
|
| --- a/third_party/WebKit/Source/core/loader/WorkerFetchContext.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/WorkerFetchContext.cpp
|
| @@ -158,8 +158,10 @@ bool WorkerFetchContext::ShouldBlockFetchByMixedContentCheck(
|
| const ResourceRequest& resource_request,
|
| const KURL& url,
|
| SecurityViolationReportingPolicy reporting_policy) const {
|
| - // TODO(horo): Implement this.
|
| - return false;
|
| + // TODO(horo): We need more detailed check which is implemented in
|
| + // MixedContentChecker::ShouldBlockFetch().
|
| + return MixedContentChecker::IsMixedContent(
|
| + worker_global_scope_->GetSecurityOrigin(), url);
|
| }
|
|
|
| std::unique_ptr<WebURLLoader> WorkerFetchContext::CreateURLLoader() {
|
|
|