Index: third_party/WebKit/Source/core/events/WheelEvent.cpp |
diff --git a/third_party/WebKit/Source/core/events/WheelEvent.cpp b/third_party/WebKit/Source/core/events/WheelEvent.cpp |
index c0cdbecc5b972a6930d0ed656a8a0d9937a7eb05..941960cb43e34a64d98ed7f6675ba15ff474da68 100644 |
--- a/third_party/WebKit/Source/core/events/WheelEvent.cpp |
+++ b/third_party/WebKit/Source/core/events/WheelEvent.cpp |
@@ -108,28 +108,28 @@ WheelEvent::WheelEvent(const FloatPoint& wheelTicks, |
bool hasPreciseScrollingDeltas, |
RailsMode railsMode, |
bool cancelable) |
- : MouseEvent( |
- EventTypeNames::wheel, |
- true, |
- cancelable, |
- view, |
- 0, |
- screenLocation.x(), |
- screenLocation.y(), |
- windowLocation.x(), |
- windowLocation.y(), |
- 0, |
- 0, |
- modifiers, |
- 0, |
- buttons, |
- nullptr, |
- platformTimeStamp, |
- PlatformMouseEvent::RealOrIndistinguishable, |
- // TODO(zino): Should support canvas hit region because the wheel event |
- // is a kind of mouse event. Please see http://crbug.com/594075 |
- String(), |
- nullptr), |
+ : MouseEvent(EventTypeNames::wheel, |
+ true, |
+ cancelable, |
+ view, |
+ 0, |
+ screenLocation.x(), |
+ screenLocation.y(), |
+ windowLocation.x(), |
+ windowLocation.y(), |
+ 0, |
+ 0, |
+ modifiers, |
+ 0, |
+ buttons, |
+ nullptr, |
+ platformTimeStamp, |
+ PlatformMouseEvent::RealOrIndistinguishable, |
+ // TODO(zino): Should support canvas hit region because the |
+ // wheel event is a kind of mouse event. Please see |
+ // http://crbug.com/594075 |
+ String(), |
+ nullptr), |
m_wheelDelta(wheelTicks.x() * TickMultiplier, |
wheelTicks.y() * TickMultiplier), |
m_deltaX(-rawDelta.x()), |
@@ -163,28 +163,28 @@ WheelEvent::WheelEvent(const FloatPoint& wheelTicks, |
bool cancelable, |
WheelEventPhase phase, |
WheelEventPhase momentumPhase) |
- : MouseEvent( |
- EventTypeNames::wheel, |
- true, |
- cancelable, |
- view, |
- 0, |
- screenLocation.x(), |
- screenLocation.y(), |
- windowLocation.x(), |
- windowLocation.y(), |
- 0, |
- 0, |
- modifiers, |
- 0, |
- buttons, |
- nullptr, |
- platformTimeStamp, |
- PlatformMouseEvent::RealOrIndistinguishable, |
- // TODO(zino): Should support canvas hit region because the wheel event |
- // is a kind of mouse event. Please see http://crbug.com/594075 |
- String(), |
- nullptr), |
+ : MouseEvent(EventTypeNames::wheel, |
+ true, |
+ cancelable, |
+ view, |
+ 0, |
+ screenLocation.x(), |
+ screenLocation.y(), |
+ windowLocation.x(), |
+ windowLocation.y(), |
+ 0, |
+ 0, |
+ modifiers, |
+ 0, |
+ buttons, |
+ nullptr, |
+ platformTimeStamp, |
+ PlatformMouseEvent::RealOrIndistinguishable, |
+ // TODO(zino): Should support canvas hit region because the |
+ // wheel event is a kind of mouse event. Please see |
+ // http://crbug.com/594075 |
+ String(), |
+ nullptr), |
m_wheelDelta(wheelTicks.x() * TickMultiplier, |
wheelTicks.y() * TickMultiplier), |
m_deltaX(-rawDelta.x()), |