Chromium Code Reviews| Index: ui/events/devices/device_data_manager.cc |
| diff --git a/ui/events/devices/device_data_manager.cc b/ui/events/devices/device_data_manager.cc |
| index 38a184cf91c40a18ddfa533b055dac5aba3fa4b9..d66744f3b1316d76b5dc7e1ef1f9176c213a49f7 100644 |
| --- a/ui/events/devices/device_data_manager.cc |
| +++ b/ui/events/devices/device_data_manager.cc |
| @@ -23,7 +23,7 @@ namespace ui { |
| namespace { |
| bool InputDeviceEquals(const ui::InputDevice& a, const ui::InputDevice& b) { |
| - return a.id == b.id; |
| + return a.id == b.id && a.enabled == b.enabled; |
| } |
| } // namespace |