| Index: ui/events/devices/device_util_linux.cc
|
| diff --git a/ui/events/devices/device_util_linux.cc b/ui/events/devices/device_util_linux.cc
|
| index 858ee84be97aa2696b0c0c8113cfd176fc2d56dd..9f1f6329c7eb8381f6b58aa9e50fe638350d91bf 100644
|
| --- a/ui/events/devices/device_util_linux.cc
|
| +++ b/ui/events/devices/device_util_linux.cc
|
| @@ -17,7 +17,9 @@ namespace ui {
|
| InputDeviceType GetInputDeviceTypeFromPath(const base::FilePath& path) {
|
| DCHECK(!base::MessageLoopForUI::IsCurrent());
|
| std::string event_node = path.BaseName().value();
|
| - if (event_node.empty() || !StartsWithASCII(event_node, "event", false))
|
| + if (event_node.empty() ||
|
| + !base::StartsWith(event_node, "event",
|
| + base::CompareCase::INSENSITIVE_ASCII))
|
| return InputDeviceType::INPUT_DEVICE_UNKNOWN;
|
|
|
| // Find sysfs device path for this device.
|
|
|