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

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

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 | « chrome/renderer/net/net_error_helper.cc ('k') | no next file » | 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 9887dd87987013fc175e43088aac32a9681f2f31..a7a6d632e2e512218b4ce17c7d2c68d94b264b5b 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -853,8 +853,7 @@ void WebLocalFrameImpl::reloadWithOverrideURL(const WebURL& overrideUrl,
// TODO(clamy): Remove this function once RenderFrame calls load for all
// requests.
DCHECK(frame());
- DCHECK(loadType == WebFrameLoadType::Reload ||
- loadType == WebFrameLoadType::ReloadBypassingCache);
+ DCHECK(isReloadLoadType(static_cast<FrameLoadType>(loadType)));
WebURLRequest request = requestForReload(loadType, overrideUrl);
if (request.isNull())
return;
« no previous file with comments | « chrome/renderer/net/net_error_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698