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

Unified Diff: chrome/browser/tab_contents/background_contents.cc

Issue 3325012: Fix SessionStorage (Closed)
Patch Set: kill the last (new) dcheck Created 10 years, 3 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/sidebar/sidebar_container.cc ('k') | chrome/browser/tab_contents/match_preview.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/background_contents.cc
diff --git a/chrome/browser/tab_contents/background_contents.cc b/chrome/browser/tab_contents/background_contents.cc
index da15fccba11756c15c1580cf814bb1ba31f37e8b..ee459e10492aaf59cc28220181d5ce2c245830b2 100644
--- a/chrome/browser/tab_contents/background_contents.cc
+++ b/chrome/browser/tab_contents/background_contents.cc
@@ -6,8 +6,6 @@
#include "chrome/browser/background_contents_service.h"
#include "chrome/browser/browsing_instance.h"
-#include "chrome/browser/in_process_webkit/dom_storage_context.h"
-#include "chrome/browser/in_process_webkit/webkit_context.h"
#include "chrome/browser/profile.h"
#include "chrome/browser/renderer_host/render_view_host.h"
#include "chrome/browser/renderer_host/site_instance.h"
@@ -28,10 +26,7 @@ BackgroundContents::BackgroundContents(SiteInstance* site_instance,
Profile* profile = site_instance->browsing_instance()->profile();
// TODO(rafaelw): Implement correct session storage.
- int64 session_storage_namespace_id = profile->GetWebKitContext()->
- dom_storage_context()->AllocateSessionStorageNamespaceId();
- render_view_host_ = new RenderViewHost(site_instance, this, routing_id,
- session_storage_namespace_id);
+ render_view_host_ = new RenderViewHost(site_instance, this, routing_id, NULL);
render_view_host_->AllowScriptToClose(true);
// Close ourselves when the application is shutting down.
« no previous file with comments | « chrome/browser/sidebar/sidebar_container.cc ('k') | chrome/browser/tab_contents/match_preview.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698