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

Unified Diff: trunk/src/content/renderer/savable_resources.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/savable_resources.cc
===================================================================
--- trunk/src/content/renderer/savable_resources.cc (revision 289319)
+++ trunk/src/content/renderer/savable_resources.cc (working copy)
@@ -166,8 +166,7 @@
attribute_name = "cite";
} else if (element.hasHTMLTagName("link")) {
// If the link element is not linked to css, ignore it.
- if (base::LowerCaseEqualsASCII(
- base::string16(element.getAttribute("type")), "text/css")) {
+ if (LowerCaseEqualsASCII(element.getAttribute("type"), "text/css")) {
// TODO(jnd): Add support for extracting links of sub-resources which
// are inside style-sheet such as @import, url(), etc.
// See bug: http://b/issue?id=1111667.
« no previous file with comments | « trunk/src/content/renderer/render_view_impl.cc ('k') | trunk/src/content/test/net/url_request_abort_on_end_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698