Index: ui/events/devices/x11/touch_factory_x11.cc |
diff --git a/ui/events/devices/x11/touch_factory_x11.cc b/ui/events/devices/x11/touch_factory_x11.cc |
index b03b480f0f28af68f0eca4c429779e77c3194017..f899adc8cdf8f37ccac7fe4cac2747c5835e031c 100644 |
--- a/ui/events/devices/x11/touch_factory_x11.cc |
+++ b/ui/events/devices/x11/touch_factory_x11.cc |
@@ -336,7 +336,7 @@ void TouchFactory::CacheTouchscreenIds(int device_id) { |
if (!DeviceDataManager::HasInstance()) |
return; |
std::vector<TouchscreenDevice> touchscreens = |
- DeviceDataManager::GetInstance()->touchscreen_devices(); |
+ DeviceDataManager::GetInstance()->GetTouchscreenDevices(); |
const auto it = |
std::find_if(touchscreens.begin(), touchscreens.end(), |
[device_id](const TouchscreenDevice& touchscreen) { |