Index: trunk/src/content/renderer/render_view_impl.cc |
=================================================================== |
--- trunk/src/content/renderer/render_view_impl.cc (revision 289319) |
+++ trunk/src/content/renderer/render_view_impl.cc (working copy) |
@@ -2605,10 +2605,8 @@ |
// Also return true if it has an ARIA role of 'textbox'. |
for (unsigned i = 0; i < element.attributeCount(); ++i) { |
- if (base::LowerCaseEqualsASCII( |
- base::string16(element.attributeLocalName(i)), "role")) { |
- if (base::LowerCaseEqualsASCII( |
- base::string16(element.attributeValue(i)), "textbox")) |
+ if (LowerCaseEqualsASCII(element.attributeLocalName(i), "role")) { |
+ if (LowerCaseEqualsASCII(element.attributeValue(i), "textbox")) |
return true; |
break; |
} |