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

Unified Diff: content/renderer/input/input_event_filter.cc

Issue 1877073003: Respect the order of input messages from browser to renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 7 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
Index: content/renderer/input/input_event_filter.cc
diff --git a/content/renderer/input/input_event_filter.cc b/content/renderer/input/input_event_filter.cc
index 109b4fe9ed029a4d005d4e0bbe96ff5ef64993ea..d267ddcfeb4e6e2f1a079d79027132bfc3400207 100644
--- a/content/renderer/input/input_event_filter.cc
+++ b/content/renderer/input/input_event_filter.cc
@@ -68,13 +68,13 @@ void InputEventFilter::SetIsFlingingInMainThreadEventQueue(int routing_id,
iter->second->set_is_flinging(is_flinging);
}
-void InputEventFilter::DidAddInputHandler(int routing_id) {
+void InputEventFilter::RegisterRoutingID(int routing_id) {
base::AutoLock locked(routes_lock_);
routes_.insert(routing_id);
route_queues_[routing_id].reset(new MainThreadEventQueue(routing_id, this));
}
-void InputEventFilter::DidRemoveInputHandler(int routing_id) {
+void InputEventFilter::UnregisterRoutingID(int routing_id) {
base::AutoLock locked(routes_lock_);
routes_.erase(routing_id);
route_queues_.erase(routing_id);

Powered by Google App Engine
This is Rietveld 408576698