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

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

Issue 2561983002: NavigationController: Reload methods migration (Closed)
Patch Set: one more mac build fix 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);
Takashi Toyoshima 2016/12/15 06:21:52 shell is for testing
web_contents_->Focus();
}
void Shell::ReloadBypassingCache() {
- web_contents_->GetController().ReloadBypassingCache(false);
+ web_contents_->GetController().Reload(ReloadType::BYPASSING_CACHE, false);
Takashi Toyoshima 2016/12/15 06:21:52 ditto
web_contents_->Focus();
}

Powered by Google App Engine
This is Rietveld 408576698