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

Unified Diff: content/browser/accessibility/browser_accessibility_android.cc

Issue 837123004: Add DumpAccessibilityTree tests (12 of 20) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed link bug Created 5 years, 11 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: content/browser/accessibility/browser_accessibility_android.cc
diff --git a/content/browser/accessibility/browser_accessibility_android.cc b/content/browser/accessibility/browser_accessibility_android.cc
index 9073c16441f0fdf4b013615eb9a479440a576a30..03f10bb807c96061c229af636773768dc3d27285 100644
--- a/content/browser/accessibility/browser_accessibility_android.cc
+++ b/content/browser/accessibility/browser_accessibility_android.cc
@@ -206,8 +206,8 @@ bool BrowserAccessibilityAndroid::IsHierarchical() const {
}
bool BrowserAccessibilityAndroid::IsLink() const {
- return GetRole() == ui::AX_ROLE_LINK ||
- GetRole() == ui::AX_ROLE_IMAGE_MAP_LINK;
+ return (GetRole() == ui::AX_ROLE_LINK ||
+ GetRole() == ui::AX_ROLE_IMAGE_MAP_LINK);
}
bool BrowserAccessibilityAndroid::IsMultiLine() const {

Powered by Google App Engine
This is Rietveld 408576698