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

Unified Diff: chrome/renderer/net/net_error_helper.cc

Issue 2538423002: Reload Reloaded: Use ReloadMainResource even on recovering from offline (Closed)
Patch Set: Created 4 years 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 | « no previous file | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/net/net_error_helper.cc
diff --git a/chrome/renderer/net/net_error_helper.cc b/chrome/renderer/net/net_error_helper.cc
index 424324111a3111122333b05d5e6b8e8ddd7c6fce..c2d7a37d84c908876d1a3deb8e8e78df9646245a 100644
--- a/chrome/renderer/net/net_error_helper.cc
+++ b/chrome/renderer/net/net_error_helper.cc
@@ -315,7 +315,7 @@ void NetErrorHelper::SendTrackingRequest(
void NetErrorHelper::ReloadPage(bool bypass_cache) {
render_frame()->GetWebFrame()->reload(
bypass_cache ? blink::WebFrameLoadType::ReloadBypassingCache
- : blink::WebFrameLoadType::Reload);
+ : blink::WebFrameLoadType::ReloadMainResource);
}
void NetErrorHelper::LoadPageFromCache(const GURL& page_url) {
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698