Index: chrome/browser/android/tab_state.cc |
diff --git a/chrome/browser/android/tab_state.cc b/chrome/browser/android/tab_state.cc |
index 1a1c71a7ec2a82403f33473d7328b90e6166b4bd..cdf679b6612508e2e026364550bf873165b6d22e 100644 |
--- a/chrome/browser/android/tab_state.cc |
+++ b/chrome/browser/android/tab_state.cc |
@@ -25,6 +25,7 @@ |
#include "components/sessions/core/session_command.h" |
#include "content/public/browser/navigation_controller.h" |
#include "content/public/browser/navigation_entry.h" |
+#include "content/public/browser/restore_type.h" |
#include "content/public/browser/web_contents.h" |
#include "jni/TabState_jni.h" |
@@ -440,8 +441,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(); |
} |