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

Unified Diff: services/ui/ws/event_dispatcher.cc

Issue 2849083002: Add pointer id to the WebMouseEvent's constructors (Closed)
Patch Set: webmouseid Created 3 years, 8 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: services/ui/ws/event_dispatcher.cc
diff --git a/services/ui/ws/event_dispatcher.cc b/services/ui/ws/event_dispatcher.cc
index 83e8b37f26e8aafdacbec4f0fc45566195c18068..ccd3ebe78c4aa6af14021ec6dc5b2a6842d09a90 100644
--- a/services/ui/ws/event_dispatcher.cc
+++ b/services/ui/ws/event_dispatcher.cc
@@ -467,7 +467,7 @@ void EventDispatcher::UpdateTargetForPointer(int32_t pointer_id,
ui::ET_POINTER_EXITED, event.location(), event.root_location(),
event.flags(), 0 /* changed_button_flags */,
ui::PointerDetails(ui::EventPointerType::POINTER_TYPE_MOUSE,
- ui::MouseEvent::kMousePointerId),
+ ui::MouseEvent::kDefaultMousePointerId),
event.time_stamp());
DispatchToPointerTarget(pointer_targets_[pointer_id], exit_event);
}

Powered by Google App Engine
This is Rietveld 408576698