Index: content/browser/renderer_host/render_view_host_impl.cc |
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc |
index 17b18853165ca8ad7a26514154798a4d0bbc35f3..95e3e9280fcc35a1a836f0a5c5f5ac581bce4693 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -20,7 +20,6 @@ |
#include "base/values.h" |
#include "content/browser/child_process_security_policy_impl.h" |
#include "content/browser/cross_site_request_manager.h" |
-#include "content/browser/dom_storage/dom_storage_context_impl.h" |
#include "content/browser/dom_storage/session_storage_namespace_impl.h" |
#include "content/browser/gpu/gpu_surface_tracker.h" |
#include "content/browser/host_zoom_map_impl.h" |
@@ -172,14 +171,7 @@ RenderViewHostImpl::RenderViewHostImpl( |
save_accessibility_tree_for_testing_(false), |
send_accessibility_updated_notifications_(false), |
render_view_termination_status_(base::TERMINATION_STATUS_STILL_RUNNING) { |
- if (!session_storage_namespace_) { |
- DOMStorageContext* dom_storage_context = |
- BrowserContext::GetDOMStorageContext(GetProcess()->GetBrowserContext(), |
- instance->GetProcess()->GetID()); |
- session_storage_namespace_ = new SessionStorageNamespaceImpl( |
- static_cast<DOMStorageContextImpl*>(dom_storage_context)); |
- } |
- |
+ DCHECK(session_storage_namespace_); |
DCHECK(instance_); |
CHECK(delegate_); // http://crbug.com/82827 |
@@ -1728,11 +1720,6 @@ void RenderViewHostImpl::StopFinding(content::StopFindAction action) { |
Send(new ViewMsg_StopFinding(GetRoutingID(), action)); |
} |
-content::SessionStorageNamespace* |
-RenderViewHostImpl::GetSessionStorageNamespace() { |
- return session_storage_namespace_.get(); |
-} |
- |
void RenderViewHostImpl::OnAccessibilityNotifications( |
const std::vector<AccessibilityHostMsg_NotificationParams>& params) { |
if (view_ && !is_swapped_out_) |