| Index: Source/modules/accessibility/AXMenuList.cpp
|
| diff --git a/Source/modules/accessibility/AXMenuList.cpp b/Source/modules/accessibility/AXMenuList.cpp
|
| index 0e309627a965c99499c69b3e0b8d0c54cdd6531e..3e2ba8d2434d5428c404be0ec5800e61abfa7cd6 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()
|
| @@ -87,7 +87,11 @@ void AXMenuList::addChildren()
|
|
|
| toAXMockObject(list)->setParent(this);
|
| if (list->accessibilityIsIgnored()) {
|
| +#if ENABLE(OILPAN)
|
| + cache->remove(list);
|
| +#else
|
| cache->remove(list->axObjectID());
|
| +#endif
|
| return;
|
| }
|
|
|
|
|