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

Unified Diff: chrome/browser/ui/browser_commands.cc

Issue 2561983002: NavigationController: Reload methods migration (Closed)
Patch Set: android 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: chrome/browser/ui/browser_commands.cc
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
index 077e4833d47dbe10482e23e6eef62e83dd803b3a..87c10189f494358736925fd565c0716b053b0d39 100644
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -1179,7 +1179,7 @@ void ToggleRequestTabletSite(Browser* browser) {
current_tab->SetUserAgentOverride(content::BuildUserAgentFromOSAndProduct(
kOsOverrideForTabletSite, product));
}
- controller.ReloadOriginalRequestURL(true);
+ controller.Reload(true, content::ReloadType::ORIGINAL_REQUEST_URL);
}
void ToggleFullscreenMode(Browser* browser) {

Powered by Google App Engine
This is Rietveld 408576698