Chromium Code Reviews| 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 d84c91f77c6eea3d7b6a4509ab9d4e020ae4f57a..b5101691b3b22ad600ae8631b3650393b85bb2d7 100644 |
| --- a/third_party/WebKit/Source/web/WebInputEventConversion.cpp |
| +++ b/third_party/WebKit/Source/web/WebInputEventConversion.cpp |
| @@ -626,6 +626,7 @@ WebInputEvent::Type toWebKeyboardEventType(PlatformEvent::EventType type) |
| static WebTouchPoint toWebTouchPoint(const Touch* touch, const LayoutObject* layoutObject, WebTouchPoint::State state) |
| { |
| WebTouchPoint point; |
| + point.pointerType = WebPointerProperties::PointerType::Touch; |
|
Navid Zolghadr
2016/03/03 19:11:20
Do we by any chance pass this point while we are h
mustaq
2016/03/03 19:18:36
No, this reverse conversion is used for plugins.
|
| point.id = touch->identifier(); |
| point.screenPosition = touch->screenLocation(); |
| point.position = convertAbsoluteLocationForLayoutObjectFloat(touch->absoluteLocation(), *layoutObject); |