summaryrefslogtreecommitdiffstats
path: root/content/renderer/dom_storage/dom_storage_dispatcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/dom_storage/dom_storage_dispatcher.cc')
-rw-r--r--content/renderer/dom_storage/dom_storage_dispatcher.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/content/renderer/dom_storage/dom_storage_dispatcher.cc b/content/renderer/dom_storage/dom_storage_dispatcher.cc
index 29dbb04..c80df04 100644
--- a/content/renderer/dom_storage/dom_storage_dispatcher.cc
+++ b/content/renderer/dom_storage/dom_storage_dispatcher.cc
@@ -301,9 +301,8 @@ void DomStorageDispatcher::OnStorageEvent(
const DOMStorageMsg_Event_Params& params) {
RenderThreadImpl::current()->EnsureWebKitInitialized();
- bool originated_in_process = params.connection_id != 0;
WebStorageAreaImpl* originating_area = NULL;
- if (originated_in_process) {
+ if (params.connection_id) {
originating_area = WebStorageAreaImpl::FromConnectionId(
params.connection_id);
} else {
@@ -320,8 +319,7 @@ void DomStorageDispatcher::OnStorageEvent(
params.new_value,
params.origin,
params.page_url,
- originating_area,
- originated_in_process);
+ originating_area);
} else {
WebStorageNamespaceImpl
session_namespace_for_event_dispatch(params.namespace_id);
@@ -332,8 +330,7 @@ void DomStorageDispatcher::OnStorageEvent(
params.origin,
params.page_url,
session_namespace_for_event_dispatch,
- originating_area,
- originated_in_process);
+ originating_area);
}
}