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

Unified Diff: ui/events/blink/web_input_event_traits.cc

Issue 2245063006: Revert of Refactoring button field and its type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix patch apply Created 4 years, 4 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
« no previous file with comments | « third_party/WebKit/public/platform/WebScrollbarBehavior.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/web_input_event_traits.cc
diff --git a/ui/events/blink/web_input_event_traits.cc b/ui/events/blink/web_input_event_traits.cc
index 8fd4c6916f7ffd6cecfe34e93924355bc6d2d4ba..b850f5e66f01728f4e8b4b336dbcf494da9cc34b 100644
--- a/ui/events/blink/web_input_event_traits.cc
+++ b/ui/events/blink/web_input_event_traits.cc
@@ -35,7 +35,7 @@ void ApppendEventDetails(const WebMouseEvent& event, std::string* result) {
StringAppendF(result,
"{\n Button: %d\n Pos: (%d, %d)\n WindowPos: (%d, %d)\n"
" GlobalPos: (%d, %d)\n Movement: (%d, %d)\n Clicks: %d\n}",
- static_cast<int>(event.button),
+ event.button,
event.x,
event.y,
event.windowX,
« no previous file with comments | « third_party/WebKit/public/platform/WebScrollbarBehavior.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698