| Index: third_party/WebKit/Source/core/events/PointerEventFactory.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/PointerEventFactory.cpp b/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
|
| index 9eed8a9e3ae87d8169da4ce58f9b71870e456669..dfc1f759cff61c860434808b4eb1fcf18bd2f1d6 100644
|
| --- a/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
|
| +++ b/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
|
| @@ -146,7 +146,8 @@ PointerEvent* PointerEventFactory::create(
|
| PointerEvent* PointerEventFactory::create(const AtomicString& type,
|
| const PlatformTouchPoint& touchPoint, PlatformEvent::Modifiers modifiers,
|
| const FloatSize& pointRadius,
|
| - const FloatPoint& clientPoint)
|
| + const FloatPoint& clientPoint,
|
| + LocalDOMWindow* view)
|
| {
|
| const PlatformTouchPoint::TouchState pointState = touchPoint.state();
|
|
|
| @@ -175,6 +176,7 @@ PointerEvent* PointerEventFactory::create(const AtomicString& type,
|
| pointerEventInit.setButton(pointerPressedOrReleased ? LeftButton: NoButton);
|
| pointerEventInit.setPressure(getPointerEventPressure(
|
| touchPoint.force(), pointerEventInit.buttons()));
|
| + pointerEventInit.setView(view);
|
|
|
| UIEventWithKeyState::setFromPlatformModifiers(pointerEventInit, modifiers);
|
|
|
| @@ -218,7 +220,7 @@ PointerEvent* PointerEventFactory::createPointerCaptureEvent(
|
| return PointerEvent::create(type, pointerEventInit);
|
| }
|
|
|
| -PointerEvent* PointerEventFactory::createPointerTransitionEvent(
|
| +PointerEvent* PointerEventFactory::createPointerBoundaryEvent(
|
| PointerEvent* pointerEvent,
|
| const AtomicString& type,
|
| EventTarget* relatedTarget)
|
| @@ -244,6 +246,7 @@ PointerEvent* PointerEventFactory::createPointerTransitionEvent(
|
| pointerEventInit.setButton(pointerEvent->button());
|
| pointerEventInit.setButtons(pointerEvent->buttons());
|
| pointerEventInit.setPressure(pointerEvent->pressure());
|
| + pointerEventInit.setView(pointerEvent->view());
|
|
|
| setBubblesAndCancelable(pointerEventInit, type);
|
|
|
|
|