Bug 1286610 - Change MinValue() call to CurValue() in xpcAccessibleValue::GetCurrentValue. r=yzenevich
authorMichael Li <michael.li11702@gmail.com>
Wed, 13 Jul 2016 10:54:00 +0200
changeset 330101 edee98fdc88fb3b0f9f5bea0719dbbfab0788fbd
parent 330100 9dc4452707f853444127bc272c77a9b3c168ebd1
child 330102 feb851eb3003b58f5210692376ea570e6b8d0654
push id9858
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 14:37:10 +0000
treeherdermozilla-aurora@203106ef6cb6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersyzenevich
bugs1286610
milestone50.0a1
Bug 1286610 - Change MinValue() call to CurValue() in xpcAccessibleValue::GetCurrentValue. r=yzenevich
accessible/xpcom/xpcAccessibleValue.cpp
--- a/accessible/xpcom/xpcAccessibleValue.cpp
+++ b/accessible/xpcom/xpcAccessibleValue.cpp
@@ -71,17 +71,17 @@ xpcAccessibleValue::GetCurrentValue(doub
 
   if (Intl().IsAccessible() && Intl().AsAccessible()->IsDefunct())
     return NS_ERROR_FAILURE;
 
   double value;
   if (Intl().IsAccessible()) {
     value = Intl().AsAccessible()->CurValue();
   } else { 
-    value = Intl().AsProxy()->MinValue();
+    value = Intl().AsProxy()->CurValue();
   }
 
   if (!IsNaN(value))
     *aValue = value;
 
   return NS_OK;
 }