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

Unified Diff: ui/base/x/x11_util.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/base/l10n/l10n_util.cc ('k') | ui/events/devices/device_util_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/x/x11_util.cc
diff --git a/ui/base/x/x11_util.cc b/ui/base/x/x11_util.cc
index a8a3214a32ed3d2d21b6c5e1bf9438eea5346b57..abc3b5d67b1ac42b48ab80728094434d11df3fc5 100644
--- a/ui/base/x/x11_util.cc
+++ b/ui/base/x/x11_util.cc
@@ -1251,7 +1251,7 @@ WindowManagerName GuessWindowManager() {
return WM_FLUXBOX;
if (name == "i3")
return WM_I3;
- if (base::StartsWithASCII(name, "IceWM", true))
+ if (base::StartsWith(name, "IceWM", base::CompareCase::SENSITIVE))
return WM_ICE_WM;
if (name == "ion3")
return WM_ION3;
« no previous file with comments | « ui/base/l10n/l10n_util.cc ('k') | ui/events/devices/device_util_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698