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 061203937f6c048e42afd40f340fc9df69dac849..974b80fc9c7abfa1cb2fcd0567532abb0c6f08d5 100644 |
--- a/third_party/WebKit/Source/web/WebInputEventConversion.cpp |
+++ b/third_party/WebKit/Source/web/WebInputEventConversion.cpp |
@@ -509,6 +509,8 @@ WebMouseEventBuilder::WebMouseEventBuilder(const Widget* widget, const LayoutIte |
clickCount = event.detail(); |
pointerType = WebPointerProperties::PointerType::Mouse; |
+ if (event.mouseEvent()) |
+ pointerType = event.mouseEvent()->pointerProperties().pointerType; |
} |
// Generate a synthetic WebMouseEvent given a TouchEvent (eg. for emulating a mouse |