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

Unified Diff: chrome/browser/previews/previews_infobar_delegate.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/previews/previews_infobar_delegate.cc
diff --git a/chrome/browser/previews/previews_infobar_delegate.cc b/chrome/browser/previews/previews_infobar_delegate.cc
index 55ad0e3a4f03d5401e5097817e285a2dbaf4436c..1280e4488d6ada66b5e5d2b7ced7b6c973fe0c66 100644
--- a/chrome/browser/previews/previews_infobar_delegate.cc
+++ b/chrome/browser/previews/previews_infobar_delegate.cc
@@ -135,7 +135,8 @@ bool PreviewsInfoBarDelegate::LinkClicked(WindowOpenDisposition disposition) {
InfoBarService::WebContentsFromInfoBar(infobar());
if (infobar_type_ == LITE_PAGE || infobar_type_ == LOFI) {
if (infobar_type_ == LITE_PAGE)
- web_contents->GetController().ReloadDisableLoFi(true);
+ web_contents->GetController().Reload(
+ true, content::ReloadType::DISABLE_LOFI_MODE);
else if (infobar_type_ == LOFI)
web_contents->ReloadLoFiImages();

Powered by Google App Engine
This is Rietveld 408576698