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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 2456353002: [dry-run] Trying frameloader::loadFailed. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index 5aacfaf190477d6be7be87eebfb48a5eb5d5ef23..129baf80413ef59c1faab06a2670e74128177213 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -2064,12 +2064,10 @@ bool WebLocalFrameImpl::canRenderFallbackContent() const {
return frame()->owner() && frame()->owner()->canRenderFallbackContent();
}
-void WebLocalFrameImpl::loadFailed() {
+void WebLocalFrameImpl::loadFailed(const WebURLError& error) {
DCHECK(frame());
- if (frame()->owner())
- frame()->owner()->renderFallbackContent();
-
- stopLoading();
+ FrameLoader& frameloader = frame()->loader();
+ frameloader.loadFailed(frameloader.documentLoader(), error);
}
bool WebLocalFrameImpl::isLoading() const {
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698