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

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, 6 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 847b872dcaf135c6a73ee0aabf4bc6b508095352..bce42baa12b54aaebb91624cc24f7c98684109ce 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;
+ RefPtrWillBeWeakMember<Scrollbar> m_scrollbar;
haraken 2015/06/24 13:27:20 Member.
keishi 2015/06/24 15:05:26 Done.
};
DEFINE_AX_OBJECT_TYPE_CASTS(AXScrollbar, isAXScrollbar());

Powered by Google App Engine
This is Rietveld 408576698