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

Unified Diff: content/shell/browser/shell.cc

Issue 2561983002: NavigationController: Reload methods migration (Closed)
Patch Set: merge master 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
Index: content/shell/browser/shell.cc
diff --git a/content/shell/browser/shell.cc b/content/shell/browser/shell.cc
index 7659e7f562169b24a6ae2fb9d7911ba6b6926ba5..f25b9031a76ae83d48376a88c97361fd43013c85 100644
--- a/content/shell/browser/shell.cc
+++ b/content/shell/browser/shell.cc
@@ -262,12 +262,12 @@ void Shell::GoBackOrForward(int offset) {
}
void Shell::Reload() {
- web_contents_->GetController().Reload(false);
+ web_contents_->GetController().Reload(ReloadType::NORMAL, false);
web_contents_->Focus();
}
void Shell::ReloadBypassingCache() {
- web_contents_->GetController().ReloadBypassingCache(false);
+ web_contents_->GetController().Reload(ReloadType::BYPASSING_CACHE, false);
web_contents_->Focus();
}
« no previous file with comments | « content/public/test/test_renderer_host.cc ('k') | content/shell/browser/shell_web_contents_view_delegate_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698