Commit cc831f5a authored by Hiroki Nakagawa's avatar Hiroki Nakagawa Committed by Commit Bot

Loader: Remove the unused frame_type param from MixedContentChecker::ShouldBlockFetchOnWorker

Bug: n/a
Change-Id: I5275e611d2888dfd608b5770383be0e6453e986a
Reviewed-on: https://chromium-review.googlesource.com/1118401Reviewed-by: default avatarYutaka Hirano <yhirano@chromium.org>
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#571837}
parent 392d9253
......@@ -455,7 +455,6 @@ bool MixedContentChecker::ShouldBlockFetchOnWorker(
WorkerOrWorkletGlobalScope* global_scope,
WebWorkerFetchContext* worker_fetch_context,
WebURLRequest::RequestContext request_context,
network::mojom::RequestContextFrameType frame_type,
ResourceRequest::RedirectStatus redirect_status,
const KURL& url,
SecurityViolationReportingPolicy reporting_policy) {
......
......@@ -77,7 +77,6 @@ class CORE_EXPORT MixedContentChecker final {
static bool ShouldBlockFetchOnWorker(WorkerOrWorkletGlobalScope*,
WebWorkerFetchContext*,
WebURLRequest::RequestContext,
network::mojom::RequestContextFrameType,
ResourceRequest::RedirectStatus,
const KURL&,
SecurityViolationReportingPolicy);
......
......@@ -176,8 +176,8 @@ bool WorkerFetchContext::ShouldBlockFetchByMixedContentCheck(
const KURL& url,
SecurityViolationReportingPolicy reporting_policy) const {
return MixedContentChecker::ShouldBlockFetchOnWorker(
global_scope_, web_context_.get(), request_context, frame_type,
redirect_status, url, reporting_policy);
global_scope_, web_context_.get(), request_context, redirect_status, url,
reporting_policy);
}
bool WorkerFetchContext::ShouldBlockFetchAsCredentialedSubresource(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment