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

Unified Diff: content/renderer/dom_serializer_browsertest.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/renderer/dom_serializer_browsertest.cc
diff --git a/content/renderer/dom_serializer_browsertest.cc b/content/renderer/dom_serializer_browsertest.cc
index 1e3784c6ad5dbdd086417f49370622dc0c474b41..db60c6e1490e3671fd20441a97aa0734d8e855b4 100644
--- a/content/renderer/dom_serializer_browsertest.cc
+++ b/content/renderer/dom_serializer_browsertest.cc
@@ -107,8 +107,8 @@ bool IsMetaElement(const WebNode& node, std::string& charset_info) {
return false;
charset_info.erase(0, charset_info.length());
// Check the META charset declaration.
- WebString httpEquiv = meta.getAttribute("http-equiv");
- if (LowerCaseEqualsASCII(httpEquiv, "content-type")) {
+ WebString http_equiv = meta.getAttribute("http-equiv");
+ if (base::LowerCaseEqualsASCII(base::string16(http_equiv), "content-type")) {
std::string content = meta.getAttribute("content").utf8();
int pos = content.find("charset", 0);
if (pos > -1) {
« no previous file with comments | « content/renderer/android/phone_number_detector.cc ('k') | content/renderer/fetchers/resource_fetcher_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698