| Index: chrome/browser/sessions/chrome_tab_restore_service_client.cc
|
| diff --git a/chrome/browser/sessions/chrome_tab_restore_service_client.cc b/chrome/browser/sessions/chrome_tab_restore_service_client.cc
|
| index a4adf8440049702caab5f3d8ee2d43f10ff4df97..01f69fd75597917f2a663c0e5c3f4863b7ac067f 100644
|
| --- a/chrome/browser/sessions/chrome_tab_restore_service_client.cc
|
| +++ b/chrome/browser/sessions/chrome_tab_restore_service_client.cc
|
| @@ -49,16 +49,13 @@ ChromeTabRestoreServiceClient::ChromeTabRestoreServiceClient(Profile* profile)
|
| ChromeTabRestoreServiceClient::~ChromeTabRestoreServiceClient() {}
|
|
|
| sessions::LiveTabContext* ChromeTabRestoreServiceClient::CreateLiveTabContext(
|
| - int host_desktop_type,
|
| const std::string& app_name) {
|
| #if defined(OS_ANDROID)
|
| // Android does not support LiveTabContext, as tab persistence
|
| // is implemented on the Java side.
|
| return nullptr;
|
| #else
|
| - return BrowserLiveTabContext::Create(
|
| - profile_, static_cast<chrome::HostDesktopType>(host_desktop_type),
|
| - app_name);
|
| + return BrowserLiveTabContext::Create(profile_, app_name);
|
| #endif
|
| }
|
|
|
| @@ -77,15 +74,13 @@ ChromeTabRestoreServiceClient::FindLiveTabContextForTab(
|
|
|
| sessions::LiveTabContext*
|
| ChromeTabRestoreServiceClient::FindLiveTabContextWithID(
|
| - SessionID::id_type desired_id,
|
| - int host_desktop_type) {
|
| + SessionID::id_type desired_id) {
|
| #if defined(OS_ANDROID)
|
| // Android does not support LiveTabContext, as tab persistence
|
| // is implemented on the Java side.
|
| return nullptr;
|
| #else
|
| - return BrowserLiveTabContext::FindContextWithID(
|
| - desired_id, static_cast<chrome::HostDesktopType>(host_desktop_type));
|
| + return BrowserLiveTabContext::FindContextWithID(desired_id);
|
| #endif
|
| }
|
|
|
|
|