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

Unified Diff: third_party/WebKit/Source/core/dom/Node.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/dom/Node.cpp
diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
index 0c491557b80f318a245d3b0b568f131f9ee2400f..94de9927cceeb64730c4104458a5b3b04a096b30 100644
--- a/third_party/WebKit/Source/core/dom/Node.cpp
+++ b/third_party/WebKit/Source/core/dom/Node.cpp
@@ -2137,7 +2137,7 @@ void Node::createAndDispatchPointerEvent(const AtomicString& mouseEventName,
pointerEventInit.setPointerType("mouse");
pointerEventInit.setIsPrimary(true);
pointerEventInit.setButtons(
- MouseEvent::platformModifiersToButtons(mouseEvent.modifiers()));
+ MouseEvent::webInputEventModifiersToButtons(mouseEvent.modifiers()));
pointerEventInit.setBubbles(true);
pointerEventInit.setCancelable(true);

Powered by Google App Engine
This is Rietveld 408576698