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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXSlider.cpp

Issue 2805493002: Boolean properties for Accessibility Object Model Phase 1 (Closed)
Patch Set: Address feedback Created 3 years, 8 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: third_party/WebKit/Source/modules/accessibility/AXSlider.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXSlider.cpp b/third_party/WebKit/Source/modules/accessibility/AXSlider.cpp
index 0178bec3add6e1aa1c4c2f0d9e4a60a7f942eaba..62192a835ad3c2759475618ada052c5fef92ed50 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXSlider.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXSlider.cpp
@@ -111,7 +111,7 @@ AXObject* AXSlider::ElementAccessibilityHitTest(const IntPoint& point) const {
}
void AXSlider::SetValue(const String& value) {
- HTMLInputElement* input = GetElement();
+ HTMLInputElement* input = GetInputElement();
if (input->value() == value)
return;
@@ -122,7 +122,7 @@ void AXSlider::SetValue(const String& value) {
input->DispatchFormControlChangeEvent();
}
-HTMLInputElement* AXSlider::GetElement() const {
+HTMLInputElement* AXSlider::GetInputElement() const {
return toHTMLInputElement(layout_object_->GetNode());
}

Powered by Google App Engine
This is Rietveld 408576698