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

Unified Diff: chrome/browser/android/tab_state.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/android/tab_state.cc
diff --git a/chrome/browser/android/tab_state.cc b/chrome/browser/android/tab_state.cc
index d8cc808cb72afe69ee2abf03ee572fc6b578ff92..0e93ea580c992a1dbfc799204d385f8ec48fec5d 100644
--- a/chrome/browser/android/tab_state.cc
+++ b/chrome/browser/android/tab_state.cc
@@ -440,8 +440,7 @@ WebContents* WebContentsState::RestoreContentsFromByteBuffer(
params.initially_hidden = initially_hidden;
std::unique_ptr<WebContents> web_contents(WebContents::Create(params));
web_contents->GetController().Restore(
- current_entry_index, NavigationController::RESTORE_CURRENT_SESSION,
- &entries);
+ current_entry_index, content::RestoreType::CURRENT_SESSION, &entries);
return web_contents.release();
}

Powered by Google App Engine
This is Rietveld 408576698