| Index: Source/core/events/WheelEvent.cpp
|
| diff --git a/Source/core/events/WheelEvent.cpp b/Source/core/events/WheelEvent.cpp
|
| index 501b7691db31fdc5f8774f71feff5802670b3bed..9b8050ff5029f467a44c7fcfd5ccad6917ee8a54 100644
|
| --- a/Source/core/events/WheelEvent.cpp
|
| +++ b/Source/core/events/WheelEvent.cpp
|
| @@ -25,6 +25,7 @@
|
| #include "core/events/WheelEvent.h"
|
|
|
| #include "core/clipboard/DataTransfer.h"
|
| +#include "platform/PlatformMouseEvent.h"
|
| #include "platform/PlatformWheelEvent.h"
|
|
|
| namespace blink {
|
| @@ -62,11 +63,9 @@ WheelEvent::WheelEvent(const AtomicString& type, const WheelEventInit& initializ
|
| WheelEvent::WheelEvent(const FloatPoint& wheelTicks, const FloatPoint& rawDelta, unsigned deltaMode,
|
| PassRefPtrWillBeRawPtr<AbstractView> view, const IntPoint& screenLocation, const IntPoint& pageLocation,
|
| bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)
|
| - : MouseEvent(EventTypeNames::wheel,
|
| - true, true, view, 0, screenLocation.x(), screenLocation.y(),
|
| - pageLocation.x(), pageLocation.y(),
|
| - 0, 0,
|
| - ctrlKey, altKey, shiftKey, metaKey, 0, nullptr, nullptr, false)
|
| + : MouseEvent(EventTypeNames::wheel, true, true, view, 0, screenLocation.x(), screenLocation.y(),
|
| + pageLocation.x(), pageLocation.y(), 0, 0, ctrlKey, altKey, shiftKey, metaKey, 0, nullptr,
|
| + nullptr, false, PlatformMouseEvent::RealOrIndistinguishable)
|
| , m_wheelDelta(wheelTicks.x() * TickMultiplier, wheelTicks.y() * TickMultiplier)
|
| , m_deltaX(-rawDelta.x())
|
| , m_deltaY(-rawDelta.y())
|
|
|