| Index: Source/modules/accessibility/AXListBox.cpp
|
| diff --git a/Source/modules/accessibility/AXListBox.cpp b/Source/modules/accessibility/AXListBox.cpp
|
| index 6c13c63b5f82f37e59a184b14eba5d1154540833..1035ed616ebc1e5058b71728937cf407069fc598 100644
|
| --- a/Source/modules/accessibility/AXListBox.cpp
|
| +++ b/Source/modules/accessibility/AXListBox.cpp
|
| @@ -39,7 +39,7 @@ namespace blink {
|
|
|
| using namespace HTMLNames;
|
|
|
| -AXListBox::AXListBox(LayoutObject* layoutObject, AXObjectCacheImpl* axObjectCache)
|
| +AXListBox::AXListBox(LayoutObject* layoutObject, AXObjectCacheImpl& axObjectCache)
|
| : AXLayoutObject(layoutObject, axObjectCache)
|
| , m_activeIndex(-1)
|
| {
|
| @@ -50,7 +50,7 @@ AXListBox::~AXListBox()
|
| {
|
| }
|
|
|
| -PassRefPtr<AXListBox> AXListBox::create(LayoutObject* layoutObject, AXObjectCacheImpl* axObjectCache)
|
| +PassRefPtr<AXListBox> AXListBox::create(LayoutObject* layoutObject, AXObjectCacheImpl& axObjectCache)
|
| {
|
| return adoptRef(new AXListBox(layoutObject, axObjectCache));
|
| }
|
| @@ -72,7 +72,7 @@ AXObject* AXListBox::activeDescendant() const
|
| int activeIndex = select->activeSelectionEndListIndex();
|
| if (activeIndex >= 0 && activeIndex < static_cast<int>(select->length())) {
|
| HTMLOptionElement* option = select->item(m_activeIndex);
|
| - return axObjectCache()->get(option);
|
| + return axObjectCache().get(option);
|
| }
|
|
|
| return nullptr;
|
| @@ -94,9 +94,9 @@ void AXListBox::activeIndexChanged()
|
|
|
| if (m_activeIndex >= 0 && m_activeIndex < static_cast<int>(select->length())) {
|
| HTMLOptionElement* option = select->item(m_activeIndex);
|
| - axObjectCache()->postNotification(option, AXObjectCacheImpl::AXFocusedUIElementChanged);
|
| + axObjectCache().postNotification(option, AXObjectCacheImpl::AXFocusedUIElementChanged);
|
| } else {
|
| - axObjectCache()->postNotification(this, AXObjectCacheImpl::AXFocusedUIElementChanged);
|
| + axObjectCache().postNotification(this, AXObjectCacheImpl::AXFocusedUIElementChanged);
|
| }
|
| }
|
|
|
|
|