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

Unified Diff: content/renderer/savable_resources.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
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/test/net/url_request_abort_on_end_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/savable_resources.cc
diff --git a/content/renderer/savable_resources.cc b/content/renderer/savable_resources.cc
index 8ec18d76c241ded79392d42de7e127d567235fe4..99edd431b82c75cfaeb54e201213cfe4e1945de9 100644
--- a/content/renderer/savable_resources.cc
+++ b/content/renderer/savable_resources.cc
@@ -166,7 +166,8 @@ WebString GetSubResourceLinkFromElement(const WebElement& element) {
attribute_name = "cite";
} else if (element.hasHTMLTagName("link")) {
// If the link element is not linked to css, ignore it.
- if (LowerCaseEqualsASCII(element.getAttribute("type"), "text/css")) {
+ if (base::LowerCaseEqualsASCII(
+ base::string16(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 | « content/renderer/render_view_impl.cc ('k') | 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