Index: Source/core/dom/shadow/ShadowRootRareData.h |
diff --git a/Source/core/dom/shadow/ShadowRootRareData.h b/Source/core/dom/shadow/ShadowRootRareData.h |
index 26f5eb51b70bd10f99bf12287f33a99ce80a8ff7..eb87ceb32d8a4f4659a20d2d41fad9d8c1ff7c35 100644 |
--- a/Source/core/dom/shadow/ShadowRootRareData.h |
+++ b/Source/core/dom/shadow/ShadowRootRareData.h |
@@ -37,7 +37,7 @@ |
namespace WebCore { |
-class ShadowRootRareData { |
+class ShadowRootRareData : public NoBaseWillBeGarbageCollectedFinalized<ShadowRootRareData> { |
public: |
ShadowRootRareData() |
: m_descendantShadowElementCount(0) |
@@ -70,13 +70,15 @@ public: |
StyleSheetList* styleSheets() { return m_styleSheetList.get(); } |
void setStyleSheets(PassRefPtrWillBeRawPtr<StyleSheetList> styleSheetList) { m_styleSheetList = styleSheetList; } |
+ void trace(Visitor* visitor) { visitor->trace(m_styleSheetList); } |
+ |
private: |
RefPtr<HTMLShadowElement> m_shadowInsertionPointOfYoungerShadowRoot; |
unsigned m_descendantShadowElementCount; |
unsigned m_descendantContentElementCount; |
unsigned m_childShadowRootCount; |
Vector<RefPtr<InsertionPoint> > m_descendantInsertionPoints; |
- RefPtrWillBePersistent<StyleSheetList> m_styleSheetList; |
+ RefPtrWillBeMember<StyleSheetList> m_styleSheetList; |
}; |
inline void ShadowRootRareData::didAddInsertionPoint(InsertionPoint* point) |