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

Unified Diff: Source/modules/accessibility/AXSpinButton.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/AXSpinButton.h
diff --git a/Source/modules/accessibility/AXSpinButton.h b/Source/modules/accessibility/AXSpinButton.h
index ce0a53694a7ef5115ffdc6bab5e848c76a7512bd..dbe57b727e0a7d720283071c48d661cbb16ef15b 100644
--- a/Source/modules/accessibility/AXSpinButton.h
+++ b/Source/modules/accessibility/AXSpinButton.h
@@ -36,8 +36,9 @@ class AXObjectCacheImpl;
class AXSpinButton final : public AXMockObject {
public:
- static PassRefPtr<AXSpinButton> create(AXObjectCacheImpl*);
+ static PassRefPtrWillBeRawPtr<AXSpinButton> create(AXObjectCacheImpl*);
virtual ~AXSpinButton();
+ DECLARE_VIRTUAL_TRACE();
void setSpinButtonElement(SpinButtonElement* spinButton) { m_spinButtonElement = spinButton; }
void step(int amount);
@@ -53,12 +54,12 @@ private:
virtual void detach() override;
virtual void detachFromParent() override;
- SpinButtonElement* m_spinButtonElement;
+ RawPtrWillBeWeakMember<SpinButtonElement> m_spinButtonElement;
};
class AXSpinButtonPart final : public AXMockObject {
public:
- static PassRefPtr<AXSpinButtonPart> create(AXObjectCacheImpl*);
+ static PassRefPtrWillBeRawPtr<AXSpinButtonPart> create(AXObjectCacheImpl*);
virtual ~AXSpinButtonPart() { }
bool isIncrementor() const { return m_isIncrementor; }

Powered by Google App Engine
This is Rietveld 408576698