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

Unified Diff: ui/events/ozone/evdev/gamepad_event_converter_evdev.cc

Issue 2827803002: Make Interaction Media Features MQ dynamic on Linux. (Closed)
Patch Set: Patch for landing, added the mojo bits 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/ozone/evdev/gamepad_event_converter_evdev.cc
diff --git a/ui/events/ozone/evdev/gamepad_event_converter_evdev.cc b/ui/events/ozone/evdev/gamepad_event_converter_evdev.cc
index e1d719ae515b92a457aef438c7a946b51ec195de..6724c752670c6714ee5d3bfe3efb949f20821d9b 100644
--- a/ui/events/ozone/evdev/gamepad_event_converter_evdev.cc
+++ b/ui/events/ozone/evdev/gamepad_event_converter_evdev.cc
@@ -132,7 +132,7 @@ GamepadEventConverterEvdev::GamepadEventConverterEvdev(
}
GamepadEventConverterEvdev::~GamepadEventConverterEvdev() {
- DCHECK(!enabled_);
+ DCHECK(!IsEnabled());
}
bool GamepadEventConverterEvdev::HasGamepad() const {
@@ -155,7 +155,7 @@ void GamepadEventConverterEvdev::OnFileCanReadWithoutBlocking(int fd) {
return;
}
- if (!enabled_)
+ if (!IsEnabled())
return;
ProcessEvent(input);
« no previous file with comments | « ui/events/ozone/evdev/event_converter_evdev_impl.cc ('k') | ui/events/ozone/evdev/input_device_factory_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698