| 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 50311284c008ce6559ea66c3435accbdfbc69d8e..598fafb6de8f5390088264be40b23d05be05687e 100644
|
| --- a/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
|
| +++ b/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
|
| @@ -234,8 +234,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);
|
|
|