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

Unified Diff: chrome/browser/sessions/session_restore.cc

Issue 10600009: Support partitioning of storage contexts based on render_id. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebased on jam@'s chromeos fixes. Created 8 years, 5 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
Index: chrome/browser/sessions/session_restore.cc
diff --git a/chrome/browser/sessions/session_restore.cc b/chrome/browser/sessions/session_restore.cc
index 98708651d0277a09c6280b2421149f3345f1250c..8262bb79088ba0030cf483635888bf7c4b1f4459 100644
--- a/chrome/browser/sessions/session_restore.cc
+++ b/chrome/browser/sessions/session_restore.cc
@@ -878,7 +878,7 @@ class SessionRestoreImpl : public content::NotificationObserver {
scoped_refptr<content::SessionStorageNamespace> session_storage_namespace;
if (!tab.session_storage_persistent_id.empty()) {
session_storage_namespace =
- content::BrowserContext::GetDOMStorageContext(profile_)->
+ content::BrowserContext::GetDefaultDOMStorageContext(profile_)->
RecreateSessionStorage(tab.session_storage_persistent_id);
}

Powered by Google App Engine
This is Rietveld 408576698