Chromium Code Reviews| Index: ui/events/event.cc |
| diff --git a/ui/events/event.cc b/ui/events/event.cc |
| index 166a8bd1d18d486fb19df5709620f811739b189e..f46ce3f3150d19292a3df2da04844145947c92a2 100644 |
| --- a/ui/events/event.cc |
| +++ b/ui/events/event.cc |
| @@ -484,15 +484,17 @@ MouseWheelEvent::MouseWheelEvent(const MouseWheelEvent& mouse_wheel_event) |
| MouseWheelEvent::MouseWheelEvent(const gfx::Vector2d& offset, |
| const gfx::PointF& location, |
| const gfx::PointF& root_location, |
| + base::TimeDelta time_stamp, |
| int flags, |
| int changed_button_flags) |
| : MouseEvent(ui::ET_MOUSEWHEEL, |
| location, |
| root_location, |
| - EventTimeForNow(), |
| + time_stamp, |
| flags, |
| changed_button_flags), |
| offset_(offset) { |
| + set_time_stamp(time_stamp); |
|
sadrul
2015/02/19 17:23:20
Is this necessary?
robert.bradford
2015/02/19 17:30:44
Whoops, this was necessary in the old version (bef
|
| } |
| #if defined(OS_WIN) |