| 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 75586e7bb0eb915ab943669f05663a294154522c..66632d483eee9419aa6d7830a1a783653b3e4c58 100644
|
| --- a/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
|
| +++ b/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
|
| @@ -225,8 +225,8 @@ PointerEvent* PointerEventFactory::create(
|
| AtomicString pointerEventName =
|
| pointerEventNameForMouseEventName(mouseEventName);
|
|
|
| - unsigned buttons = MouseEvent::platformModifiersToButtons(
|
| - static_cast<PlatformEvent::Modifiers>(mouseEvent.modifiers()));
|
| + unsigned buttons = MouseEvent::webInputEventModifiersToButtons(
|
| + static_cast<WebInputEvent::Modifiers>(mouseEvent.modifiers()));
|
| PointerEventInit pointerEventInit;
|
|
|
| setIdTypeButtons(pointerEventInit, mouseEvent, buttons);
|
|
|