| Index: ui/events/devices/input_device.cc
|
| diff --git a/ui/events/devices/input_device.cc b/ui/events/devices/input_device.cc
|
| index d57af43165b606199572c727674d06b91ad4f697..ff20320690acab68f3c7f1ce6847b0766fb7fbdf 100644
|
| --- a/ui/events/devices/input_device.cc
|
| +++ b/ui/events/devices/input_device.cc
|
| @@ -15,8 +15,10 @@ InputDevice::InputDevice()
|
| : id(kInvalidId), type(InputDeviceType::INPUT_DEVICE_UNKNOWN) {
|
| }
|
|
|
| -InputDevice::InputDevice(unsigned int id, InputDeviceType type)
|
| - : id(id), type(type) {
|
| +InputDevice::InputDevice(unsigned int id,
|
| + InputDeviceType type,
|
| + const std::string& name)
|
| + : id(id), type(type), name(name), vendor_id(0), product_id(0) {
|
| }
|
|
|
| InputDevice::~InputDevice() {
|
|
|