Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1471)

Unified Diff: chrome/browser/instant/instant_loader.cc

Issue 10831116: Move SessionStorageNamespace entirely into NavigationController and support StoragePartitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged ToT Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/instant/instant_controller.cc ('k') | chrome/browser/notifications/balloon_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_loader.cc
diff --git a/chrome/browser/instant/instant_loader.cc b/chrome/browser/instant/instant_loader.cc
index abca70a18dea1d1082e890a6afdb91408d4e2e24..207038742e41cb40b430e9ad48a929bd0f36274e 100644
--- a/chrome/browser/instant/instant_loader.cc
+++ b/chrome/browser/instant/instant_loader.cc
@@ -265,11 +265,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()))),
supports_instant_(false),
instant_url_(instant_url) {
}
« no previous file with comments | « chrome/browser/instant/instant_controller.cc ('k') | chrome/browser/notifications/balloon_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698