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

Unified Diff: ui/events/ozone/device/udev/device_manager_udev.cc

Issue 1285183008: Ozone integration. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 4 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/device/udev/device_manager_udev.cc
diff --git a/ui/events/ozone/device/udev/device_manager_udev.cc b/ui/events/ozone/device/udev/device_manager_udev.cc
index ca7daa26ad6c43f802d66f495b0007275bec558c..4e28e3904fa0de24e0fd7d67c3ab147c99d7732a 100644
--- a/ui/events/ozone/device/udev/device_manager_udev.cc
+++ b/ui/events/ozone/device/udev/device_manager_udev.cc
@@ -162,10 +162,10 @@ scoped_ptr<DeviceEvent> DeviceManagerUdev::ProcessMessage(udev_device* device) {
DeviceEvent::DeviceType device_type;
if (!strcmp(subsystem, "input") &&
- base::StartsWithASCII(path, "/dev/input/event", true))
+ StartsWithASCII(path, "/dev/input/event", true))
device_type = DeviceEvent::INPUT;
else if (!strcmp(subsystem, "drm") &&
- base::StartsWithASCII(path, "/dev/dri/card", true))
+ StartsWithASCII(path, "/dev/dri/card", true))
device_type = DeviceEvent::DISPLAY;
else
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698