Index: third_party/WebKit/Source/core/events/PointerEvent.cpp |
diff --git a/third_party/WebKit/Source/core/events/PointerEvent.cpp b/third_party/WebKit/Source/core/events/PointerEvent.cpp |
index a609321e15ad2673ccdd0dbc2c378ae2606d0554..8b416ad4541949e45538f63a32497784980fb225 100644 |
--- a/third_party/WebKit/Source/core/events/PointerEvent.cpp |
+++ b/third_party/WebKit/Source/core/events/PointerEvent.cpp |
@@ -18,6 +18,8 @@ PointerEvent::PointerEvent(const AtomicString& type, |
m_pressure(0), |
m_tiltX(0), |
m_tiltY(0), |
+ m_tangentialPressure(0), |
+ m_twist(0), |
m_isPrimary(false) { |
if (initializer.hasPointerId()) |
m_pointerId = initializer.pointerId(); |
@@ -31,6 +33,10 @@ PointerEvent::PointerEvent(const AtomicString& type, |
m_tiltX = initializer.tiltX(); |
if (initializer.hasTiltY()) |
m_tiltY = initializer.tiltY(); |
+ if (initializer.hasTangentialPressure()) |
+ m_tangentialPressure = initializer.tangentialPressure(); |
+ if (initializer.hasTwist()) |
+ m_twist = initializer.twist(); |
if (initializer.hasPointerType()) |
m_pointerType = initializer.pointerType(); |
if (initializer.hasIsPrimary()) |