| Index: Source/modules/accessibility/AXMenuListOption.h
|
| diff --git a/Source/modules/accessibility/AXMenuListOption.h b/Source/modules/accessibility/AXMenuListOption.h
|
| index bd919bea2f43595bc3361d5bc86bf85c91212399..6de52434fc1cb115c858ae3a42278ee85679edfc 100644
|
| --- a/Source/modules/accessibility/AXMenuListOption.h
|
| +++ b/Source/modules/accessibility/AXMenuListOption.h
|
| @@ -35,10 +35,11 @@ class AXObjectCacheImpl;
|
|
|
| class AXMenuListOption final : public AXMockObject {
|
| public:
|
| - static PassRefPtr<AXMenuListOption> create(HTMLOptionElement* element, AXObjectCacheImpl* axObjectCache) { return adoptRef(new AXMenuListOption(element, axObjectCache)); }
|
| + static PassRefPtrWillBeRawPtr<AXMenuListOption> create(HTMLOptionElement* element, AXObjectCacheImpl* axObjectCache) { return adoptRefWillBeNoop(new AXMenuListOption(element, axObjectCache)); }
|
|
|
| private:
|
| explicit AXMenuListOption(HTMLOptionElement*, AXObjectCacheImpl*);
|
| + DECLARE_VIRTUAL_TRACE();
|
|
|
| virtual bool isMenuListOption() const override { return true; }
|
|
|
| @@ -59,7 +60,7 @@ private:
|
| virtual String stringValue() const override;
|
| virtual bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override;
|
|
|
| - HTMLOptionElement* m_element;
|
| + RawPtrWillBeMember<HTMLOptionElement> m_element;
|
| };
|
|
|
| DEFINE_AX_OBJECT_TYPE_CASTS(AXMenuListOption, isMenuListOption());
|
|
|