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

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

Issue 2805493002: Boolean properties for Accessibility Object Model Phase 1 (Closed)
Patch Set: Back to previous patchset, ready to land Created 3 years, 7 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 ce5aad3becba418bdb29d36a2e6fe74cadcddf81..3ceb21818dc296decf195a67cf48632b0d3cc3be 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXSlider.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXSlider.cpp
@@ -112,7 +112,7 @@ AXObjectImpl* AXSlider::ElementAccessibilityHitTest(
}
void AXSlider::SetValue(const String& value) {
- HTMLInputElement* input = GetElement();
+ HTMLInputElement* input = GetInputElement();
if (input->value() == value)
return;
@@ -123,7 +123,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