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

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, 10 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 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);

Powered by Google App Engine
This is Rietveld 408576698