| 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..202e4473dc1d089107c3e2eb85536356cae5310a 100644
|
| --- a/android_webview/native/state_serializer.cc
|
| +++ b/android_webview/native/state_serializer.cc
|
| @@ -12,6 +12,7 @@
|
| #include "content/public/browser/navigation_controller.h"
|
| #include "content/public/browser/navigation_entry.h"
|
| #include "content/public/browser/render_process_host.h"
|
| +#include "content/public/browser/restore_type.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/common/page_state.h"
|
|
|
| @@ -108,10 +109,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()) {
|
|
|