Chromium Code Reviews| Index: services/ui/ws/drag_controller.cc |
| diff --git a/services/ui/ws/drag_controller.cc b/services/ui/ws/drag_controller.cc |
| index 2e05d26e10b427f970ce7e78b9bf64db78dafd31..476676da565070088de9cb376bc075dbb6a8dff8 100644 |
| --- a/services/ui/ws/drag_controller.cc |
| +++ b/services/ui/ws/drag_controller.cc |
| @@ -86,7 +86,7 @@ bool DragController::DispatchPointerEvent(const ui::PointerEvent& event, |
| return false; |
| } |
| - if (event.pointer_id() != drag_pointer_id_) |
| + if (event.pointer_details().id != static_cast<uint32_t>(drag_pointer_id_)) |
|
sadrul
2017/02/07 05:40:41
Make |drag_pointer_id_| a uint32_t too?
|
| return false; |
| // If |current_target| doesn't accept drags, walk its hierarchy up until we |