Index: ui/events/ozone/evdev/event_factory_evdev.cc |
diff --git a/ui/events/ozone/evdev/event_factory_evdev.cc b/ui/events/ozone/evdev/event_factory_evdev.cc |
index 88ec979fb35f4f3a3809cfcbb61d479d164b4d14..e92b982b7b1c79f2b624803880a3a37f34f97b87 100644 |
--- a/ui/events/ozone/evdev/event_factory_evdev.cc |
+++ b/ui/events/ozone/evdev/event_factory_evdev.cc |
@@ -260,9 +260,11 @@ void EventFactoryEvdev::NotifyHotplugEventObserver( |
std::vector<TouchscreenDevice> touchscreens; |
for (auto it = converters_.begin(); it != converters_.end(); ++it) { |
if (it->second->HasTouchscreen()) { |
- touchscreens.push_back(TouchscreenDevice(it->second->id(), |
- it->second->GetTouchscreenSize(), |
- false /* is_internal */)); |
+ touchscreens.push_back(TouchscreenDevice( |
+ it->second->id(), |
+ InputDeviceType::EXTERNAL, |
+ "", /* Device name */ |
+ it->second->GetTouchscreenSize())); |
} |
} |