| Index: chrome/browser/android/tab_state.cc
|
| diff --git a/chrome/browser/android/tab_state.cc b/chrome/browser/android/tab_state.cc
|
| index 4cfb6e39fc9358fe67541e85d400a70fa2901ddd..327bc8c4500e69533cccd3e80cac36fd1f23e90d 100644
|
| --- a/chrome/browser/android/tab_state.cc
|
| +++ b/chrome/browser/android/tab_state.cc
|
| @@ -426,7 +426,7 @@ WebContents* WebContentsState::RestoreContentsFromByteBuffer(
|
| return NULL;
|
|
|
| Profile* profile = ProfileManager::GetActiveUserProfile();
|
| - ScopedVector<content::NavigationEntry> scoped_entries =
|
| + std::vector<scoped_ptr<content::NavigationEntry>> entries =
|
| sessions::ContentSerializedNavigationBuilder::ToNavigationEntries(
|
| navigations, profile);
|
|
|
| @@ -436,9 +436,8 @@ WebContents* WebContentsState::RestoreContentsFromByteBuffer(
|
| params.initially_hidden = initially_hidden;
|
| scoped_ptr<WebContents> web_contents(WebContents::Create(params));
|
| web_contents->GetController().Restore(
|
| - current_entry_index,
|
| - NavigationController::RESTORE_CURRENT_SESSION,
|
| - &scoped_entries);
|
| + current_entry_index, NavigationController::RESTORE_CURRENT_SESSION,
|
| + &entries);
|
| return web_contents.release();
|
| }
|
|
|
|
|