| Index: Source/modules/accessibility/AXMenuList.cpp
|
| diff --git a/Source/modules/accessibility/AXMenuList.cpp b/Source/modules/accessibility/AXMenuList.cpp
|
| index fa80d6b4a1759780766c479905488a7208f8a3bd..4a7aef593ee376a5fda994ae0e7dfd0807a93669 100644
|
| --- a/Source/modules/accessibility/AXMenuList.cpp
|
| +++ b/Source/modules/accessibility/AXMenuList.cpp
|
| @@ -37,9 +37,9 @@ AXMenuList::AXMenuList(LayoutMenuList* layoutObject, AXObjectCacheImpl* axObject
|
| {
|
| }
|
|
|
| -PassRefPtr<AXMenuList> AXMenuList::create(LayoutMenuList* layoutObject, AXObjectCacheImpl* axObjectCache)
|
| +PassRefPtrWillBeRawPtr<AXMenuList> AXMenuList::create(LayoutMenuList* layoutObject, AXObjectCacheImpl* axObjectCache)
|
| {
|
| - return adoptRef(new AXMenuList(layoutObject, axObjectCache));
|
| + return adoptRefWillBeNoop(new AXMenuList(layoutObject, axObjectCache));
|
| }
|
|
|
| AccessibilityRole AXMenuList::determineAccessibilityRole()
|
| @@ -88,7 +88,11 @@ void AXMenuList::addChildren()
|
|
|
| toAXMockObject(list)->setParent(this);
|
| if (list->accessibilityIsIgnored()) {
|
| +#if ENABLE(OILPAN)
|
| + cache->remove(list);
|
| +#else
|
| cache->remove(list->axObjectID());
|
| +#endif
|
| return;
|
| }
|
|
|
|
|