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

Unified Diff: ui/events/devices/touchscreen_device.cc

Issue 2825383003: Fix stylus tools palette. (Closed)
Patch Set: Rebase and update the enums.xml file. Created 3 years, 8 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 | « tools/metrics/histograms/enums.xml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/devices/touchscreen_device.cc
diff --git a/ui/events/devices/touchscreen_device.cc b/ui/events/devices/touchscreen_device.cc
index 4a2cf5bee8a495d33043f411a0d592ddef00dbf1..43fafe797e61e1eb51b74e2337575922427c96d6 100644
--- a/ui/events/devices/touchscreen_device.cc
+++ b/ui/events/devices/touchscreen_device.cc
@@ -10,8 +10,7 @@
namespace ui {
-TouchscreenDevice::TouchscreenDevice() : touch_points(0) {
-}
+TouchscreenDevice::TouchscreenDevice() : touch_points(0), is_stylus(false) {}
James Cook 2017/05/04 14:10:01 nit: This class should probably have a virtual des
TouchscreenDevice::TouchscreenDevice(int id,
InputDeviceType type,
« no previous file with comments | « tools/metrics/histograms/enums.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698