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

Unified Diff: Source/modules/accessibility/AXScrollbar.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/AXScrollbar.h
diff --git a/Source/modules/accessibility/AXScrollbar.h b/Source/modules/accessibility/AXScrollbar.h
index a5cf88daf19f7d3366c0f35efc218749bc8103a5..2c87614c99ac6c67bc978e461b31f653be9cb7fb 100644
--- a/Source/modules/accessibility/AXScrollbar.h
+++ b/Source/modules/accessibility/AXScrollbar.h
@@ -38,7 +38,8 @@ class Scrollbar;
class AXScrollbar final : public AXMockObject {
public:
- static PassRefPtr<AXScrollbar> create(Scrollbar*, AXObjectCacheImpl*);
+ static PassRefPtrWillBeRawPtr<AXScrollbar> create(Scrollbar*, AXObjectCacheImpl*);
+ DECLARE_VIRTUAL_TRACE();
Scrollbar* scrollbar() const { return m_scrollbar.get(); }
@@ -62,9 +63,7 @@ private:
virtual void setValue(float) override;
virtual float valueForRange() const override;
- // FIXME: Oilpan: turn this into a Member once the AXObject
- // hierarchy is on the heap.
- RefPtrWillBePersistent<Scrollbar> m_scrollbar;
+ RefPtrWillBeMember<Scrollbar> m_scrollbar;
};
DEFINE_AX_OBJECT_TYPE_CASTS(AXScrollbar, isAXScrollbar());

Powered by Google App Engine
This is Rietveld 408576698