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

Unified Diff: trunk/src/content/renderer/dom_serializer_browsertest.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/renderer/dom_serializer_browsertest.cc
===================================================================
--- trunk/src/content/renderer/dom_serializer_browsertest.cc (revision 289319)
+++ trunk/src/content/renderer/dom_serializer_browsertest.cc (working copy)
@@ -107,8 +107,8 @@
return false;
charset_info.erase(0, charset_info.length());
// Check the META charset declaration.
- WebString http_equiv = meta.getAttribute("http-equiv");
- if (base::LowerCaseEqualsASCII(base::string16(http_equiv), "content-type")) {
+ WebString httpEquiv = meta.getAttribute("http-equiv");
+ if (LowerCaseEqualsASCII(httpEquiv, "content-type")) {
std::string content = meta.getAttribute("content").utf8();
int pos = content.find("charset", 0);
if (pos > -1) {

Powered by Google App Engine
This is Rietveld 408576698