| 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..c0a0fd6f59f8821d0585e055e786dbaf1dedfc32 100644
|
| --- a/chrome/browser/android/tab_state.cc
|
| +++ b/chrome/browser/android/tab_state.cc
|
| @@ -23,6 +23,7 @@
|
| #include "content/public/browser/navigation_controller.h"
|
| #include "content/public/browser/navigation_entry.h"
|
| #include "content/public/browser/web_contents.h"
|
| +#include "content/public/browser/web_contents_source.h"
|
| #include "jni/TabState_jni.h"
|
|
|
| using base::android::ConvertUTF16ToJavaString;
|
| @@ -435,6 +436,8 @@ WebContents* WebContentsState::RestoreContentsFromByteBuffer(
|
| WebContents::CreateParams params(profile);
|
| params.initially_hidden = initially_hidden;
|
| scoped_ptr<WebContents> web_contents(WebContents::Create(params));
|
| + WebContentsSource::CreateForWebContentsAndLocation(web_contents.get(),
|
| + FROM_HERE);
|
| web_contents->GetController().Restore(
|
| current_entry_index,
|
| NavigationController::RESTORE_CURRENT_SESSION,
|
|
|