Index: ui/aura/window_tree_host_x11.cc |
diff --git a/ui/aura/window_tree_host_x11.cc b/ui/aura/window_tree_host_x11.cc |
index a8d91d6e41f63a42bb2688a7a193159506b8fbf4..9384dcd759fa598dcd45eb9b5c326f33f4cdc1f2 100644 |
--- a/ui/aura/window_tree_host_x11.cc |
+++ b/ui/aura/window_tree_host_x11.cc |
@@ -41,7 +41,7 @@ |
#include "ui/events/keycodes/keyboard_codes.h" |
#include "ui/events/platform/platform_event_observer.h" |
#include "ui/events/platform/x11/x11_event_source.h" |
-#include "ui/events/x/device_data_manager.h" |
+#include "ui/events/x/device_data_manager_x11.h" |
#include "ui/events/x/device_list_cache_x.h" |
#include "ui/events/x/touch_factory_x11.h" |
#include "ui/gfx/screen.h" |
@@ -442,7 +442,7 @@ uint32_t WindowTreeHostX11::DispatchEvent(const ui::PlatformEvent& event) { |
XRefreshKeyboardMapping(&xev->xmapping); |
break; |
case MappingPointer: |
- ui::DeviceDataManager::GetInstance()->UpdateButtonMap(); |
+ ui::DeviceDataManagerX11::GetInstance()->UpdateButtonMap(); |
break; |
default: |
NOTIMPLEMENTED() << " Unknown request: " << xev->xmapping.request; |
@@ -651,7 +651,7 @@ void WindowTreeHostX11::DispatchXI2Event(const base::NativeEvent& event) { |
case ui::ET_TOUCH_CANCELLED: |
case ui::ET_TOUCH_RELEASED: { |
ui::TouchEvent touchev(xev); |
- if (ui::DeviceDataManager::GetInstance()->TouchEventNeedsCalibrate( |
+ if (ui::DeviceDataManagerX11::GetInstance()->TouchEventNeedsCalibrate( |
xiev->deviceid)) { |
touch_calibrate_->Calibrate(&touchev, bounds_); |
} |