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

Unified Diff: ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.cc

Issue 1242023005: Remove legacy StartsWithASCII function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: y Created 5 years, 5 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
« no previous file with comments | « ui/events/ozone/device/udev/device_manager_udev.cc ('k') | ui/gl/gl_version_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.cc
diff --git a/ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.cc b/ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.cc
index 45cd381677d540d299147f1bf1cab3617e91e913..64e0696d72479ae40b3be7c6045f0dd0c022f17d 100644
--- a/ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.cc
+++ b/ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.cc
@@ -505,7 +505,7 @@ bool IsMatchTypeSupported(const std::string& match_type) {
// Check if a match criteria is a device type one.
bool IsMatchDeviceType(const std::string& match_type) {
- return base::StartsWithASCII(match_type, "MatchIs", true);
+ return base::StartsWith(match_type, "MatchIs", base::CompareCase::SENSITIVE);
}
// Parse a boolean value keyword (e.g., on/off, true/false).
« no previous file with comments | « ui/events/ozone/device/udev/device_manager_udev.cc ('k') | ui/gl/gl_version_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698