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. |