Index: third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
index c0329ed50f6170b690c1381ef045511b71bd8a1f..11b3f1d5cdc05eec1fcd52be79d861501e032801 100644 |
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
@@ -463,7 +463,7 @@ bool DocumentLoader::RedirectReceived( |
RefPtr<SecurityOrigin> redirecting_origin = |
SecurityOrigin::Create(redirect_response.Url()); |
if (!redirecting_origin->CanDisplay(request_url)) { |
- FrameLoader::ReportLocalLoadFailed(frame_, request_url.GetString()); |
+ frame_->GetDocument()->ReportLocalLoadFailed(request_url.GetString()); |
fetcher_->StopFetching(); |
return false; |
} |