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

Unified Diff: chrome/browser/ui/android/tab_model/android_live_tab_context.cc

Issue 2225343002: Navigation: move RestoreType and ReloadType into a separate file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: trybots ran with PS8, but one more safe change is added here Created 4 years, 3 months 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/android/tab_model/android_live_tab_context.cc
diff --git a/chrome/browser/ui/android/tab_model/android_live_tab_context.cc b/chrome/browser/ui/android/tab_model/android_live_tab_context.cc
index d24dcae73043e59e24f822dc8d65c107a03cbd1c..2bee8f0c8bf5288142c89e55a7e722ee1b888bfd 100644
--- a/chrome/browser/ui/android/tab_model/android_live_tab_context.cc
+++ b/chrome/browser/ui/android/tab_model/android_live_tab_context.cc
@@ -79,9 +79,7 @@ sessions::LiveTab* AndroidLiveTabContext::AddRestoredTab(
content::WebContents* web_contents = content::WebContents::Create(
content::WebContents::CreateParams(profile));
web_contents->GetController().Restore(
- selected_navigation,
- content::NavigationController::RESTORE_CURRENT_SESSION,
- &nav_entries);
+ selected_navigation, content::RestoreType::CURRENT_SESSION, &nav_entries);
// Create new tab.
tab_model_->CreateTab(nullptr, web_contents, -1);

Powered by Google App Engine
This is Rietveld 408576698