| Index: third_party/WebKit/Source/modules/accessibility/AXProgressIndicator.cpp
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXProgressIndicator.cpp b/third_party/WebKit/Source/modules/accessibility/AXProgressIndicator.cpp
|
| index 09355008d8582e288b03ee2325200ecef1bde80a..6182bae019b39658af393b9fce5a7ea862dc21be 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXProgressIndicator.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXProgressIndicator.cpp
|
| @@ -54,8 +54,8 @@ float AXProgressIndicator::ValueForRange() const {
|
| if (HasAttribute(aria_valuenowAttr))
|
| return GetAttribute(aria_valuenowAttr).ToFloat();
|
|
|
| - if (GetElement()->position() >= 0)
|
| - return clampTo<float>(GetElement()->value());
|
| + if (GetProgressElement()->position() >= 0)
|
| + return clampTo<float>(GetProgressElement()->value());
|
| // Indeterminate progress bar should return 0.
|
| return 0.0f;
|
| }
|
| @@ -64,7 +64,7 @@ float AXProgressIndicator::MaxValueForRange() const {
|
| if (HasAttribute(aria_valuemaxAttr))
|
| return GetAttribute(aria_valuemaxAttr).ToFloat();
|
|
|
| - return clampTo<float>(GetElement()->max());
|
| + return clampTo<float>(GetProgressElement()->max());
|
| }
|
|
|
| float AXProgressIndicator::MinValueForRange() const {
|
| @@ -74,7 +74,7 @@ float AXProgressIndicator::MinValueForRange() const {
|
| return 0.0f;
|
| }
|
|
|
| -HTMLProgressElement* AXProgressIndicator::GetElement() const {
|
| +HTMLProgressElement* AXProgressIndicator::GetProgressElement() const {
|
| return ToLayoutProgress(layout_object_)->ProgressElement();
|
| }
|
|
|
|
|