Index: Source/web/WebInputEventConversion.cpp |
diff --git a/Source/web/WebInputEventConversion.cpp b/Source/web/WebInputEventConversion.cpp |
index 1fa3ef12377eccd97dc053e31dd96266d4320402..ea52bbc284739b43866c718bb079dee1512ae05e 100644 |
--- a/Source/web/WebInputEventConversion.cpp |
+++ b/Source/web/WebInputEventConversion.cpp |
@@ -154,6 +154,7 @@ PlatformWheelEventBuilder::PlatformWheelEventBuilder(Widget* widget, const WebMo |
m_modifiers |= PlatformEvent::MetaKey; |
m_hasPreciseScrollingDeltas = e.hasPreciseScrollingDeltas; |
+ m_canScroll = e.canScroll; |
#if OS(MACOSX) |
m_phase = static_cast<PlatformWheelEventPhase>(e.phase); |
m_momentumPhase = static_cast<PlatformWheelEventPhase>(e.momentumPhase); |
@@ -641,6 +642,7 @@ WebMouseWheelEventBuilder::WebMouseWheelEventBuilder(const Widget* widget, const |
wheelTicksX = event.ticksX(); |
wheelTicksY = event.ticksY(); |
scrollByPage = event.deltaMode() == WheelEvent::DOM_DELTA_PAGE; |
+ canScroll = event.canScroll(); |
} |
WebKeyboardEventBuilder::WebKeyboardEventBuilder(const KeyboardEvent& event) |