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

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

Issue 474483002: Revert 289312 "Move StringToUpperASCII and LowerCaseEqualsASCII ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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: trunk/src/chrome/browser/themes/theme_properties.cc
===================================================================
--- trunk/src/chrome/browser/themes/theme_properties.cc (revision 289319)
+++ trunk/src/chrome/browser/themes/theme_properties.cc (working copy)
@@ -143,13 +143,13 @@
int alignment_mask = 0;
for (std::vector<std::string>::iterator component(split.begin());
component != split.end(); ++component) {
- if (base::LowerCaseEqualsASCII(*component, kAlignmentTop))
+ if (LowerCaseEqualsASCII(*component, kAlignmentTop))
alignment_mask |= ALIGN_TOP;
- else if (base::LowerCaseEqualsASCII(*component, kAlignmentBottom))
+ else if (LowerCaseEqualsASCII(*component, kAlignmentBottom))
alignment_mask |= ALIGN_BOTTOM;
- else if (base::LowerCaseEqualsASCII(*component, kAlignmentLeft))
+ else if (LowerCaseEqualsASCII(*component, kAlignmentLeft))
alignment_mask |= ALIGN_LEFT;
- else if (base::LowerCaseEqualsASCII(*component, kAlignmentRight))
+ else if (LowerCaseEqualsASCII(*component, kAlignmentRight))
alignment_mask |= ALIGN_RIGHT;
}
return alignment_mask;

Powered by Google App Engine
This is Rietveld 408576698