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

Unified Diff: chrome/browser/themes/theme_properties.cc

Issue 1172753003: Move LowerCaseEqualsASCII to base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util
Patch Set: Created 5 years, 6 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: chrome/browser/themes/theme_properties.cc
diff --git a/chrome/browser/themes/theme_properties.cc b/chrome/browser/themes/theme_properties.cc
index 8e184c0fd456d0c340cf02f7e51963819435734b..f32530f28d53452f5f7b5f88a0fd00753d329b2b 100644
--- a/chrome/browser/themes/theme_properties.cc
+++ b/chrome/browser/themes/theme_properties.cc
@@ -145,13 +145,13 @@ int ThemeProperties::StringToAlignment(const std::string& alignment) {
int alignment_mask = 0;
for (std::vector<std::string>::iterator component(split.begin());
component != split.end(); ++component) {
- if (LowerCaseEqualsASCII(*component, kAlignmentTop))
+ if (base::LowerCaseEqualsASCII(*component, kAlignmentTop))
alignment_mask |= ALIGN_TOP;
- else if (LowerCaseEqualsASCII(*component, kAlignmentBottom))
+ else if (base::LowerCaseEqualsASCII(*component, kAlignmentBottom))
alignment_mask |= ALIGN_BOTTOM;
- else if (LowerCaseEqualsASCII(*component, kAlignmentLeft))
+ else if (base::LowerCaseEqualsASCII(*component, kAlignmentLeft))
alignment_mask |= ALIGN_LEFT;
- else if (LowerCaseEqualsASCII(*component, kAlignmentRight))
+ else if (base::LowerCaseEqualsASCII(*component, kAlignmentRight))
alignment_mask |= ALIGN_RIGHT;
}
return alignment_mask;
@@ -159,11 +159,11 @@ int ThemeProperties::StringToAlignment(const std::string& alignment) {
// static
int ThemeProperties::StringToTiling(const std::string& tiling) {
- if (LowerCaseEqualsASCII(tiling, kTilingRepeatX))
+ if (base::LowerCaseEqualsASCII(tiling, kTilingRepeatX))
return REPEAT_X;
- if (LowerCaseEqualsASCII(tiling, kTilingRepeatY))
+ if (base::LowerCaseEqualsASCII(tiling, kTilingRepeatY))
return REPEAT_Y;
- if (LowerCaseEqualsASCII(tiling, kTilingRepeat))
+ if (base::LowerCaseEqualsASCII(tiling, kTilingRepeat))
return REPEAT;
// NO_REPEAT is the default choice.
return NO_REPEAT;
« no previous file with comments | « chrome/browser/themes/browser_theme_pack.cc ('k') | chrome/browser/ui/app_list/search/common/webservice_search_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698