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

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

Issue 2314093002: Revert of Make a pen in eraser mode visible thru PointerEvent.buttons (Closed)
Patch Set: Created 4 years, 3 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/MouseEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/MouseEvent.cpp b/third_party/WebKit/Source/core/events/MouseEvent.cpp
index 67a8b4bb5e14934499dce9b187d34c9629ec60ae..730fd1040920a0141cdba20dc00b4c77d69dacc9 100644
--- a/third_party/WebKit/Source/core/events/MouseEvent.cpp
+++ b/third_party/WebKit/Source/core/events/MouseEvent.cpp
@@ -152,11 +152,11 @@
unsigned short buttons = 0;
if (modifiers & PlatformEvent::LeftButtonDown)
- buttons |= static_cast<unsigned short>(WebPointerProperties::Buttons::Left);
+ buttons |= static_cast<unsigned short>(Buttons::Left);
if (modifiers & PlatformEvent::RightButtonDown)
- buttons |= static_cast<unsigned short>(WebPointerProperties::Buttons::Right);
+ buttons |= static_cast<unsigned short>(Buttons::Right);
if (modifiers & PlatformEvent::MiddleButtonDown)
- buttons |= static_cast<unsigned short>(WebPointerProperties::Buttons::Middle);
+ buttons |= static_cast<unsigned short>(Buttons::Middle);
return buttons;
}
« no previous file with comments | « third_party/WebKit/Source/core/events/MouseEvent.h ('k') | third_party/WebKit/Source/core/events/PointerEventFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698