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

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

Issue 904733002: Remove useless InputDevice::name field (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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.h ('k') | ui/events/devices/keyboard_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/devices/input_device.cc
diff --git a/ui/events/devices/input_device.cc b/ui/events/devices/input_device.cc
index e940c95607d45ddb6c0af827de5c4c24637eb966..d57af43165b606199572c727674d06b91ad4f697 100644
--- a/ui/events/devices/input_device.cc
+++ b/ui/events/devices/input_device.cc
@@ -15,10 +15,8 @@ InputDevice::InputDevice()
: id(kInvalidId), type(InputDeviceType::INPUT_DEVICE_UNKNOWN) {
}
-InputDevice::InputDevice(unsigned int id,
- InputDeviceType type,
- const std::string& name)
- : id(id), type(type), name(name) {
+InputDevice::InputDevice(unsigned int id, InputDeviceType type)
+ : id(id), type(type) {
}
InputDevice::~InputDevice() {
« no previous file with comments | « ui/events/devices/input_device.h ('k') | ui/events/devices/keyboard_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698