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 c27be32420f071d5305bedc9f892b789e8e2514e..3f4c15b742a68d512dc8d75f68b73d1ded2b2087 100644 |
--- a/third_party/WebKit/Source/core/events/WheelEvent.cpp |
+++ b/third_party/WebKit/Source/core/events/WheelEvent.cpp |
@@ -76,7 +76,10 @@ WheelEvent::WheelEvent(const FloatPoint& wheelTicks, const FloatPoint& rawDelta, |
bool canScroll, int resendingPluginId, bool hasPreciseScrollingDeltas, RailsMode railsMode) |
: MouseEvent(EventTypeNames::wheel, true, true, view, 0, screenLocation.x(), screenLocation.y(), |
windowLocation.x(), windowLocation.y(), 0, 0, modifiers, 0, buttons, |
- nullptr, platformTimeStamp, PlatformMouseEvent::RealOrIndistinguishable) |
+ 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()) |
, m_wheelDelta(wheelTicks.x() * TickMultiplier, wheelTicks.y() * TickMultiplier) |
, m_deltaX(-rawDelta.x()) |
, m_deltaY(-rawDelta.y()) |