Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1629)

Unified Diff: Source/modules/accessibility/AXMenuListOption.h

Issue 1072273006: Oilpan: Prepare moving AXObject to heap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());

Powered by Google App Engine
This is Rietveld 408576698