Index: Source/core/dom/ElementRareData.cpp |
diff --git a/Source/core/dom/ElementRareData.cpp b/Source/core/dom/ElementRareData.cpp |
index 37f9430b144f794f3665a523ccc4b61fb8a89069..070bfd1d4043ff4750a8da2f804a3eda4bf3f8a3 100644 |
--- a/Source/core/dom/ElementRareData.cpp |
+++ b/Source/core/dom/ElementRareData.cpp |
@@ -39,7 +39,7 @@ struct SameSizeAsElementRareData : NodeRareData { |
short indices[2]; |
IntSize scrollOffset; |
void* pointers[11]; |
- OwnPtrWillBePersistent<ActiveAnimations> m_activeAnimations; |
+ OwnPtrWillBeMember<ActiveAnimations> m_activeAnimations; |
}; |
CSSStyleDeclaration& ElementRareData::ensureInlineCSSStyleDeclaration(Element* ownerElement) |
@@ -49,6 +49,11 @@ CSSStyleDeclaration& ElementRareData::ensureInlineCSSStyleDeclaration(Element* o |
return *m_cssomWrapper; |
} |
+void ElementRareData::traceAfterDispatch(Visitor* visitor) |
+{ |
+ visitor->trace(m_activeAnimations); |
+ NodeRareData::traceAfterDispatch(visitor); |
+} |
COMPILE_ASSERT(sizeof(ElementRareData) == sizeof(SameSizeAsElementRareData), ElementRareDataShouldStaySmall); |