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

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: Fix comments Created 8 years, 6 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 cd71d73ab297fb794ee3797cd1355ae0d9ae8021..2b99a12383440b0a6547ae3146ad856a966ebe91 100644
--- a/chrome/browser/sessions/session_restore.cc
+++ b/chrome/browser/sessions/session_restore.cc
@@ -877,7 +877,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