Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(643)

Unified Diff: third_party/WebKit/Source/core/loader/PingLoader.cpp

Issue 2842253002: Move ReportLocalLoadFailed to ExecutionContext (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/loader/PingLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/PingLoader.cpp b/third_party/WebKit/Source/core/loader/PingLoader.cpp
index ad119c3f9875245557414050c5534d86754cab7f..4c062504fb59e59493196434fed550ce2443e7f5 100644
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
@@ -472,7 +472,7 @@ bool SendBeaconCommon(LocalFrame* frame,
void PingLoader::LoadImage(LocalFrame* frame, const KURL& url) {
if (!frame->GetDocument()->GetSecurityOrigin()->CanDisplay(url)) {
- FrameLoader::ReportLocalLoadFailed(frame, url.GetString());
+ frame->GetDocument()->ReportLocalLoadFailed(url.GetString());
return;
}

Powered by Google App Engine
This is Rietveld 408576698