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

Unified Diff: extensions/browser/event_router.cc

Issue 2940893002: [Extensions] Pass EventFilteringInfo directly in DispatchEvent message (Closed)
Patch Set: . Created 3 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
« no previous file with comments | « no previous file | extensions/common/event_filtering_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/event_router.cc
diff --git a/extensions/browser/event_router.cc b/extensions/browser/event_router.cc
index 74d623afde85c18211eea001d2d1c22dac687ad5..93959b40874f79c7edfccbe2191def4cf0a855c5 100644
--- a/extensions/browser/event_router.cc
+++ b/extensions/browser/event_router.cc
@@ -91,7 +91,7 @@ void EventRouter::DispatchExtensionMessage(IPC::Sender* ipc_sender,
params.event_name = event_name;
params.event_id = event_id;
params.is_user_gesture = user_gesture == USER_GESTURE_ENABLED;
- params.filtering_info.Swap(info.AsValue().get());
+ params.filtering_info = info;
ipc_sender->Send(new ExtensionMsg_DispatchEvent(params, *event_args));
}
« no previous file with comments | « no previous file | extensions/common/event_filtering_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698