Index: third_party/WebKit/Source/core/input/PointerEventManager.h |
diff --git a/third_party/WebKit/Source/core/input/PointerEventManager.h b/third_party/WebKit/Source/core/input/PointerEventManager.h |
index 42c08cc45c2fa4c8f4be0328b6e7fbad12ea263c..635113cd9ff7cef4d430fb68cbc14b9472ce3f99 100644 |
--- a/third_party/WebKit/Source/core/input/PointerEventManager.h |
+++ b/third_party/WebKit/Source/core/input/PointerEventManager.h |
@@ -133,7 +133,7 @@ private: |
// Prevents firing mousedown, mousemove & mouseup in-between a canceled pointerdown and next pointerup/pointercancel. |
// See "PREVENT MOUSE EVENT flag" in the spec: |
// https://w3c.github.io/pointerevents/#compatibility-mapping-with-mouse-events |
- bool m_preventMouseEventForPointerTypeMouse; |
+ bool m_preventMouseEventForPointerType[static_cast<size_t>(WebPointerProperties::PointerType::LastEntry) + 1]; |
// Note that this map keeps track of node under pointer with id=1 as well |
// which might be different than m_nodeUnderMouse in EventHandler. That one |