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

Unified Diff: ui/events/x/events_x_utils.cc

Issue 2028593004: Add new InputDeviceManager interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_keyboard
Patch Set: Created 4 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/x/events_x_utils.cc
diff --git a/ui/events/x/events_x_utils.cc b/ui/events/x/events_x_utils.cc
index aab272373068313cf5ae95cd5fbb27b34fa12287..bbe23b7cc5407b8dda1bc0043e6ad61dbfd0158c 100644
--- a/ui/events/x/events_x_utils.cc
+++ b/ui/events/x/events_x_utils.cc
@@ -360,8 +360,7 @@ EventType EventTypeFromXEvent(const XEvent& xev) {
// ET_UNKNOWN as the type so this event will not be further processed.
// NOTE: During some events unittests there is no device data manager.
if (DeviceDataManager::HasInstance() &&
- static_cast<DeviceDataManagerX11*>(DeviceDataManager::GetInstance())
- ->IsEventBlocked(xev)) {
+ DeviceDataManagerX11::GetInstance()->IsEventBlocked(xev)) {
return ET_UNKNOWN;
}
« ui/events/devices/input_device_manager.h ('K') | « ui/events/devices/input_device_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698