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

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

Issue 448143008: Move StringToUpperASCII and LowerCaseEqualsASCII to the base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: chrome/browser/themes/theme_properties.cc
diff --git a/chrome/browser/themes/theme_properties.cc b/chrome/browser/themes/theme_properties.cc
index 180782258136422b674ed19a1727f1fe0de8a4d4..f401a3762ad5fc2410b492f4d59ea6748f38a194 100644
--- a/chrome/browser/themes/theme_properties.cc
+++ b/chrome/browser/themes/theme_properties.cc
@@ -143,13 +143,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;

Powered by Google App Engine
This is Rietveld 408576698