Index: Source/core/events/MouseEvent.cpp |
diff --git a/Source/core/events/MouseEvent.cpp b/Source/core/events/MouseEvent.cpp |
index a8f3637c9390660a62932f9f6caaa8761e135e37..07bd240a93c099761a8f55f91c39a422dd3a3e96 100644 |
--- a/Source/core/events/MouseEvent.cpp |
+++ b/Source/core/events/MouseEvent.cpp |
@@ -70,6 +70,9 @@ MouseEvent::MouseEvent() |
: m_button(0) |
, m_buttons(0) |
, m_buttonDown(false) |
+ , m_relatedTarget(nullptr) |
+ , m_dataTransfer(nullptr) |
+ , m_syntheticEventType(PlatformMouseEvent::RealOrIndistinguishable) |
{ |
} |
@@ -104,6 +107,7 @@ MouseEvent::MouseEvent(const AtomicString& eventType, const MouseEventInit& init |
, m_buttonDown(initializer.button() != (unsigned short)-1) |
, m_relatedTarget(initializer.relatedTarget()) |
, m_dataTransfer(nullptr) |
+ , m_syntheticEventType(PlatformMouseEvent::RealOrIndistinguishable) |
{ |
initCoordinates(IntPoint(initializer.clientX(), initializer.clientY())); |
} |