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

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

Issue 1435113003: Make use of new AX name calc in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issue with ariaTextAlternative Created 5 years, 1 month 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/touch_accessibility_aura_browsertest.cc
diff --git a/content/browser/accessibility/touch_accessibility_aura_browsertest.cc b/content/browser/accessibility/touch_accessibility_aura_browsertest.cc
index 58407e55a562d3d3fd7c986664740e298aba71c0..fccadc40e267f383f3a877ddc8c883e2872e21f8 100644
--- a/content/browser/accessibility/touch_accessibility_aura_browsertest.cc
+++ b/content/browser/accessibility/touch_accessibility_aura_browsertest.cc
@@ -97,7 +97,7 @@ IN_PROC_BROWSER_TEST_F(TouchAccessibilityBrowserTest,
BrowserAccessibility* hit = manager->GetFromID(target_id);
BrowserAccessibility* child = hit->PlatformGetChild(0);
ASSERT_NE(nullptr, child);
- cell_text = child->GetData().GetStringAttribute(ui::AX_ATTR_VALUE);
+ cell_text = child->GetData().GetStringAttribute(ui::AX_ATTR_NAME);
VLOG(1) << "Got hover event in cell with text: " << cell_text;
} while (cell_text != expected_cell_text);
}

Powered by Google App Engine
This is Rietveld 408576698