Index: third_party/WebKit/Source/core/loader/BaseFetchContext.cpp |
diff --git a/third_party/WebKit/Source/core/loader/BaseFetchContext.cpp b/third_party/WebKit/Source/core/loader/BaseFetchContext.cpp |
index ae92738c45035ba21a2f10cfb4fb665d77eb75c2..232ba33d6ceed2b1d153b88732fa367972052898 100644 |
--- a/third_party/WebKit/Source/core/loader/BaseFetchContext.cpp |
+++ b/third_party/WebKit/Source/core/loader/BaseFetchContext.cpp |
@@ -187,7 +187,7 @@ ResourceRequestBlockedReason BaseFetchContext::CanRequestInternal( |
if (origin_restriction != FetchParameters::kNoOriginRestriction && |
security_origin && !security_origin->CanDisplay(url)) { |
if (reporting_policy == SecurityViolationReportingPolicy::kReport) |
- ReportLocalLoadFailed(url); |
+ execution_context_->ReportLocalLoadFailed(url); |
RESOURCE_LOADING_DVLOG(1) << "ResourceFetcher::requestResource URL was not " |
"allowed by SecurityOrigin::CanDisplay"; |
return ResourceRequestBlockedReason::kOther; |