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( ...@@ -455,7 +455,6 @@ bool MixedContentChecker::ShouldBlockFetchOnWorker(
WorkerOrWorkletGlobalScope* global_scope, WorkerOrWorkletGlobalScope* global_scope,
WebWorkerFetchContext* worker_fetch_context, WebWorkerFetchContext* worker_fetch_context,
WebURLRequest::RequestContext request_context, WebURLRequest::RequestContext request_context,
network::mojom::RequestContextFrameType frame_type,
ResourceRequest::RedirectStatus redirect_status, ResourceRequest::RedirectStatus redirect_status,
const KURL& url, const KURL& url,
SecurityViolationReportingPolicy reporting_policy) { SecurityViolationReportingPolicy reporting_policy) {
......
...@@ -77,7 +77,6 @@ class CORE_EXPORT MixedContentChecker final { ...@@ -77,7 +77,6 @@ class CORE_EXPORT MixedContentChecker final {
static bool ShouldBlockFetchOnWorker(WorkerOrWorkletGlobalScope*, static bool ShouldBlockFetchOnWorker(WorkerOrWorkletGlobalScope*,
WebWorkerFetchContext*, WebWorkerFetchContext*,
WebURLRequest::RequestContext, WebURLRequest::RequestContext,
network::mojom::RequestContextFrameType,
ResourceRequest::RedirectStatus, ResourceRequest::RedirectStatus,
const KURL&, const KURL&,
SecurityViolationReportingPolicy); SecurityViolationReportingPolicy);
......
...@@ -176,8 +176,8 @@ bool WorkerFetchContext::ShouldBlockFetchByMixedContentCheck( ...@@ -176,8 +176,8 @@ bool WorkerFetchContext::ShouldBlockFetchByMixedContentCheck(
const KURL& url, const KURL& url,
SecurityViolationReportingPolicy reporting_policy) const { SecurityViolationReportingPolicy reporting_policy) const {
return MixedContentChecker::ShouldBlockFetchOnWorker( return MixedContentChecker::ShouldBlockFetchOnWorker(
global_scope_, web_context_.get(), request_context, frame_type, global_scope_, web_context_.get(), request_context, redirect_status, url,
redirect_status, url, reporting_policy); reporting_policy);
} }
bool WorkerFetchContext::ShouldBlockFetchAsCredentialedSubresource( 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