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

Unified Diff: content/public/common/window_container_type.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: content/public/common/window_container_type.cc
diff --git a/content/public/common/window_container_type.cc b/content/public/common/window_container_type.cc
index ec3b12c6364bfda16a3f8219a3b1fe076697bdce..7389bd148b1019b33b818fcc97f631b77239e5f1 100644
--- a/content/public/common/window_container_type.cc
+++ b/content/public/common/window_container_type.cc
@@ -22,11 +22,13 @@ WindowContainerType WindowFeaturesToContainerType(
bool persistent = false;
for (size_t i = 0; i < window_features.additionalFeatures.size(); ++i) {
- if (LowerCaseEqualsASCII(window_features.additionalFeatures[i],
- kBackground))
+ if (base::LowerCaseEqualsASCII(
+ base::string16(window_features.additionalFeatures[i]),
+ kBackground))
background = true;
- else if (LowerCaseEqualsASCII(window_features.additionalFeatures[i],
- kPersistent))
+ else if (base::LowerCaseEqualsASCII(
+ base::string16(window_features.additionalFeatures[i]),
+ kPersistent))
persistent = true;
}
« no previous file with comments | « content/common/android/address_parser_internal.cc ('k') | content/renderer/accessibility/blink_ax_tree_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698