| Index: third_party/WebKit/Source/modules/accessibility/AXListBox.cpp
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXListBox.cpp b/third_party/WebKit/Source/modules/accessibility/AXListBox.cpp
|
| index d025d1be8809b2cc09f0eaa5d0538a50259e4794..0d04e157dc1f8063e67b47eab36176414e71c943 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXListBox.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXListBox.cpp
|
| @@ -64,10 +64,10 @@ AccessibilityRole AXListBox::determineAccessibilityRole()
|
|
|
| AXObject* AXListBox::activeDescendant() const
|
| {
|
| - if (!isHTMLSelectElement(node()))
|
| + if (!isHTMLSelectElement(getNode()))
|
| return nullptr;
|
|
|
| - HTMLSelectElement* select = toHTMLSelectElement(node());
|
| + HTMLSelectElement* select = toHTMLSelectElement(getNode());
|
| int activeIndex = select->activeSelectionEndListIndex();
|
| if (activeIndex >= 0 && activeIndex < static_cast<int>(select->length())) {
|
| HTMLOptionElement* option = select->item(m_activeIndex);
|
| @@ -79,10 +79,10 @@ AXObject* AXListBox::activeDescendant() const
|
|
|
| void AXListBox::activeIndexChanged()
|
| {
|
| - if (!isHTMLSelectElement(node()))
|
| + if (!isHTMLSelectElement(getNode()))
|
| return;
|
|
|
| - HTMLSelectElement* select = toHTMLSelectElement(node());
|
| + HTMLSelectElement* select = toHTMLSelectElement(getNode());
|
| int activeIndex = select->activeSelectionEndListIndex();
|
| if (activeIndex == m_activeIndex)
|
| return;
|
|
|