Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index ca5e7e886fd7cf15587520a9c282678de6330d83..3de8cdf9b335bb1d7fbd759cc06a743df8d80c38 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -2601,8 +2601,10 @@ bool RenderViewImpl::IsEditableNode(const WebNode& node) const { |
// Also return true if it has an ARIA role of 'textbox'. |
for (unsigned i = 0; i < element.attributeCount(); ++i) { |
- if (LowerCaseEqualsASCII(element.attributeLocalName(i), "role")) { |
- if (LowerCaseEqualsASCII(element.attributeValue(i), "textbox")) |
+ if (base::LowerCaseEqualsASCII( |
+ base::string16(element.attributeLocalName(i)), "role")) { |
+ if (base::LowerCaseEqualsASCII( |
+ base::string16(element.attributeValue(i)), "textbox")) |
return true; |
break; |
} |