Index: third_party/WebKit/Source/web/WebInputEventConversion.cpp |
diff --git a/third_party/WebKit/Source/web/WebInputEventConversion.cpp b/third_party/WebKit/Source/web/WebInputEventConversion.cpp |
index b53c4e6697c8c5cf5387450a4c829e5e32a20145..b0319a63bbaf8b3534de9629b47051b15bc83a29 100644 |
--- a/third_party/WebKit/Source/web/WebInputEventConversion.cpp |
+++ b/third_party/WebKit/Source/web/WebInputEventConversion.cpp |
@@ -211,6 +211,7 @@ PlatformWheelEventBuilder::PlatformWheelEventBuilder(Widget* widget, const WebMo |
m_timestamp = e.timeStampSeconds; |
m_modifiers = e.modifiers; |
+ m_dispatchType = toPlatformDispatchType(e.dispatchType); |
m_hasPreciseScrollingDeltas = e.hasPreciseScrollingDeltas; |
m_canScroll = e.canScroll; |
@@ -623,6 +624,7 @@ WebMouseWheelEventBuilder::WebMouseWheelEventBuilder(const Widget* widget, const |
resendingPluginId = event.resendingPluginId(); |
railsMode = static_cast<RailsMode>(event.getRailsMode()); |
hasPreciseScrollingDeltas = event.hasPreciseScrollingDeltas(); |
+ dispatchType = event.cancelable() ? WebInputEvent::Blocking : WebInputEvent::EventNonBlocking; |
} |
WebKeyboardEventBuilder::WebKeyboardEventBuilder(const KeyboardEvent& event) |