| Index: ui/events/event.cc
|
| diff --git a/ui/events/event.cc b/ui/events/event.cc
|
| index 894d5b0f2aded44d4880e4ce2d25b043c4d4477e..60447cf2245dc6a7d3b6d22ce99a172c914f551d 100644
|
| --- a/ui/events/event.cc
|
| +++ b/ui/events/event.cc
|
| @@ -933,6 +933,7 @@ ScrollEvent::ScrollEvent(const base::NativeEvent& native_event)
|
|
|
| ScrollEvent::ScrollEvent(EventType type,
|
| const gfx::PointF& location,
|
| + const gfx::PointF& root_location,
|
| base::TimeDelta time_stamp,
|
| int flags,
|
| float x_offset,
|
| @@ -940,7 +941,7 @@ ScrollEvent::ScrollEvent(EventType type,
|
| float x_offset_ordinal,
|
| float y_offset_ordinal,
|
| int finger_count)
|
| - : MouseEvent(type, location, location, flags, 0),
|
| + : MouseEvent(type, location, root_location, flags, 0),
|
| x_offset_(x_offset),
|
| y_offset_(y_offset),
|
| x_offset_ordinal_(x_offset_ordinal),
|
|
|