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

Unified Diff: trunk/src/content/renderer/accessibility/blink_ax_tree_source.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
Index: trunk/src/content/renderer/accessibility/blink_ax_tree_source.cc
===================================================================
--- trunk/src/content/renderer/accessibility/blink_ax_tree_source.cc (revision 289319)
+++ trunk/src/content/renderer/accessibility/blink_ax_tree_source.cc (working copy)
@@ -56,7 +56,7 @@
}
bool IsTrue(std::string html_value) {
- return base::LowerCaseEqualsASCII(html_value, "true");
+ return LowerCaseEqualsASCII(html_value, "true");
}
std::string GetEquivalentAriaRoleString(const ui::AXRole role) {
@@ -296,9 +296,7 @@
WebElement element = node.to<WebElement>();
is_iframe = (element.tagName() == ASCIIToUTF16("IFRAME"));
- if (base::LowerCaseEqualsASCII(
- base::string16(element.getAttribute("aria-expanded")),
- "true"))
+ if (LowerCaseEqualsASCII(element.getAttribute("aria-expanded"), "true"))
dst->state |= (1 << ui::AX_STATE_EXPANDED);
// TODO(ctguil): The tagName in WebKit is lower cased but
« no previous file with comments | « trunk/src/content/public/common/window_container_type.cc ('k') | trunk/src/content/renderer/android/phone_number_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698