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

Unified Diff: android_webview/native/state_serializer.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: android_webview/native/state_serializer.cc
diff --git a/android_webview/native/state_serializer.cc b/android_webview/native/state_serializer.cc
index 69448f379ff1853fe8dfec9b96d4a59f17aba3e9..bc75252ca94e88524ee38eb8d468005927a6e88c 100644
--- a/android_webview/native/state_serializer.cc
+++ b/android_webview/native/state_serializer.cc
@@ -108,10 +108,9 @@ bool RestoreFromPickle(base::PickleIterator* iterator,
// |web_contents| takes ownership of these entries after this call.
content::NavigationController& controller = web_contents->GetController();
- controller.Restore(
- selected_entry,
- content::NavigationController::RESTORE_LAST_SESSION_EXITED_CLEANLY,
- &entries);
+ controller.Restore(selected_entry,
+ content::RestoreType::LAST_SESSION_EXITED_CLEANLY,
+ &entries);
DCHECK_EQ(0u, entries.size());
if (controller.GetLastCommittedEntry()) {

Powered by Google App Engine
This is Rietveld 408576698