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

Unified Diff: content/renderer/accessibility_node_serializer.cc

Issue 11823026: Adding some new DumpAccessibilityTree tests, tweaking DumpAccessibilityTree helpers and fixing a bug (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix valueNow -> currentValue Created 7 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/renderer/accessibility_node_serializer.cc
diff --git a/content/renderer/accessibility_node_serializer.cc b/content/renderer/accessibility_node_serializer.cc
index be1833cde95280695b7a2b25b2f646503f6b3ae6..164b702c0b7ba618794f587ad230d13d6162a575 100644
--- a/content/renderer/accessibility_node_serializer.cc
+++ b/content/renderer/accessibility_node_serializer.cc
@@ -502,9 +502,9 @@ void SerializeAccessibilityNode(
dst->role == dst->ROLE_SPIN_BUTTON) {
dst->float_attributes[dst->ATTR_VALUE_FOR_RANGE] = src.valueForRange();
dst->float_attributes[dst->ATTR_MAX_VALUE_FOR_RANGE] =
- src.minValueForRange();
- dst->float_attributes[dst->ATTR_MIN_VALUE_FOR_RANGE] =
src.maxValueForRange();
+ dst->float_attributes[dst->ATTR_MIN_VALUE_FOR_RANGE] =
+ src.minValueForRange();
}
if (dst->role == dst->ROLE_DOCUMENT ||
« no previous file with comments | « content/browser/accessibility/dump_accessibility_tree_helper_win.cc ('k') | content/test/data/accessibility/address.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698