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

Unified Diff: content/renderer/dom_storage/dom_storage_dispatcher.cc

Issue 1742863002: Remove unnused originatedInProcess parameter in blink::WebStorageEventDispatcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | third_party/WebKit/Source/modules/storage/StorageArea.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/dom_storage/dom_storage_dispatcher.cc
diff --git a/content/renderer/dom_storage/dom_storage_dispatcher.cc b/content/renderer/dom_storage/dom_storage_dispatcher.cc
index 29dbb043e0659b84ef704102f48993f0c42d6b24..c80df04bf332be01cb7d1944e635168ae07f0476 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);
}
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/storage/StorageArea.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698