| 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 4d63b1e14d0e8cf43088b6d10b846c4241a96d63..15e0e33dfd77a37ceffed993bb744ff4b02bc0cc 100644
|
| --- a/third_party/WebKit/Source/core/events/PointerEvent.cpp
|
| +++ b/third_party/WebKit/Source/core/events/PointerEvent.cpp
|
| @@ -35,6 +35,10 @@ PointerEvent::PointerEvent(const AtomicString& type,
|
| m_pointerType = initializer.pointerType();
|
| if (initializer.hasIsPrimary())
|
| m_isPrimary = initializer.isPrimary();
|
| + if (initializer.hasCoalescedEvents()) {
|
| + for (auto coalescedEvent : initializer.coalescedEvents())
|
| + m_coalescedEvents.append(coalescedEvent);
|
| + }
|
| }
|
|
|
| bool PointerEvent::isMouseEvent() const {
|
| @@ -49,7 +53,12 @@ EventDispatchMediator* PointerEvent::createMediator() {
|
| return PointerEventDispatchMediator::create(this);
|
| }
|
|
|
| +HeapVector<Member<PointerEvent>> PointerEvent::getCoalescedEvents() const {
|
| + return m_coalescedEvents;
|
| +}
|
| +
|
| DEFINE_TRACE(PointerEvent) {
|
| + visitor->trace(m_coalescedEvents);
|
| MouseEvent::trace(visitor);
|
| }
|
|
|
|
|