Index: chrome/browser/instant/instant_loader.cc |
diff --git a/chrome/browser/instant/instant_loader.cc b/chrome/browser/instant/instant_loader.cc |
index 1f088885ff6f6e188e9f563851934cb0fb8c2210..d69c6f4f4858e8f185fc53d43891f445a53e80bb 100644 |
--- a/chrome/browser/instant/instant_loader.cc |
+++ b/chrome/browser/instant/instant_loader.cc |
@@ -249,11 +249,12 @@ InstantLoader::InstantLoader(InstantLoaderDelegate* delegate, |
const std::string& instant_url, |
const TabContents* tab_contents) |
: loader_delegate_(delegate), |
- preview_contents_(new TabContents(content::WebContents::Create( |
- tab_contents->profile(), NULL, MSG_ROUTING_NONE, |
- tab_contents->web_contents(), |
- tab_contents->web_contents()->GetController(). |
- GetSessionStorageNamespace()))), |
+ preview_contents_(new TabContents( |
+ content::WebContents::CreateWithSessionStorage( |
+ tab_contents->profile(), NULL, MSG_ROUTING_NONE, |
+ tab_contents->web_contents(), |
+ tab_contents->web_contents()->GetController(). |
+ GetSessionStorageNamespaceMap()))), |
preview_delegate_(new WebContentsDelegateImpl( |
ALLOW_THIS_IN_INITIALIZER_LIST(this))), |
supports_instant_(false), |