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

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

Issue 2827803002: Make Interaction Media Features MQ dynamic on Linux. (Closed)
Patch Set: Updated version Created 3 years, 7 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
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

Powered by Google App Engine
This is Rietveld 408576698