Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(965)

Unified Diff: third_party/WebKit/Source/core/events/PointerEventFactory.cpp

Issue 2655873003: Remove PlatformEvent it is no longer used. (Closed)
Patch Set: Remove PlatformEvent it is no longer used. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698