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

Unified Diff: trunk/src/content/renderer/render_view_impl.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
« no previous file with comments | « trunk/src/content/renderer/render_frame_impl.cc ('k') | trunk/src/content/renderer/savable_resources.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « trunk/src/content/renderer/render_frame_impl.cc ('k') | trunk/src/content/renderer/savable_resources.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698