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

Unified Diff: trunk/src/content/public/common/window_container_type.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/content/public/common/window_container_type.cc
===================================================================
--- trunk/src/content/public/common/window_container_type.cc (revision 289319)
+++ trunk/src/content/public/common/window_container_type.cc (working copy)
@@ -22,13 +22,11 @@
bool persistent = false;
for (size_t i = 0; i < window_features.additionalFeatures.size(); ++i) {
- if (base::LowerCaseEqualsASCII(
- base::string16(window_features.additionalFeatures[i]),
- kBackground))
+ if (LowerCaseEqualsASCII(window_features.additionalFeatures[i],
+ kBackground))
background = true;
- else if (base::LowerCaseEqualsASCII(
- base::string16(window_features.additionalFeatures[i]),
- kPersistent))
+ else if (LowerCaseEqualsASCII(window_features.additionalFeatures[i],
+ kPersistent))
persistent = true;
}

Powered by Google App Engine
This is Rietveld 408576698