| 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..8b298ada7e1f4aa4bed9c11f59ba65a462cb8847 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
|
| @@ -11,6 +11,7 @@
|
| #include "components/sessions/content/content_serialized_navigation_builder.h"
|
| #include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/navigation_entry.h"
|
| +#include "content/public/browser/restore_type.h"
|
|
|
| AndroidLiveTabContext::AndroidLiveTabContext(TabModel* tab_model)
|
| : tab_model_(tab_model) {}
|
| @@ -79,9 +80,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);
|
|
|