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

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

Issue 1071193002: Change device IDs from unsigned to signed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: check for negative IDs Created 5 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 | « ui/events/devices/input_device.cc ('k') | ui/events/devices/touchscreen_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/devices/touchscreen_device.h
diff --git a/ui/events/devices/touchscreen_device.h b/ui/events/devices/touchscreen_device.h
index 8c14545106e4c1ce33295bbbf674a6bd63e52e5e..7502f68bf1842b819cf65d1a84bf2e542dfdd378 100644
--- a/ui/events/devices/touchscreen_device.h
+++ b/ui/events/devices/touchscreen_device.h
@@ -18,7 +18,7 @@ struct EVENTS_DEVICES_EXPORT TouchscreenDevice : public InputDevice {
// Creates an invalid touchscreen device.
TouchscreenDevice();
- TouchscreenDevice(unsigned int id,
+ TouchscreenDevice(int id,
InputDeviceType type,
const gfx::Size& size,
int touch_points);
« no previous file with comments | « ui/events/devices/input_device.cc ('k') | ui/events/devices/touchscreen_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698