| Index: Source/core/animation/ActiveAnimations.cpp
|
| diff --git a/Source/core/animation/ActiveAnimations.cpp b/Source/core/animation/ActiveAnimations.cpp
|
| index 350988515ec75ff127c7ad15457bd0dc120e5d1a..8743e5c4c8b1d95786a2a4e497b25684981b0e3c 100644
|
| --- a/Source/core/animation/ActiveAnimations.cpp
|
| +++ b/Source/core/animation/ActiveAnimations.cpp
|
| @@ -37,9 +37,11 @@ namespace WebCore {
|
|
|
| ActiveAnimations::~ActiveAnimations()
|
| {
|
| +#if !ENABLE(OILPAN)
|
| for (size_t i = 0; i < m_animations.size(); ++i)
|
| m_animations[i]->notifyElementDestroyed();
|
| m_animations.clear();
|
| +#endif
|
| }
|
|
|
| void ActiveAnimations::addPlayer(AnimationPlayer* player)
|
| @@ -92,9 +94,8 @@ void ActiveAnimations::cancelAnimationOnCompositor()
|
| void ActiveAnimations::trace(Visitor* visitor)
|
| {
|
| visitor->trace(m_cssAnimations);
|
| -#if ENABLE(OILPAN)
|
| - visitor->trace(m_target);
|
| -#endif
|
| + visitor->trace(m_defaultStack);
|
| + visitor->trace(m_players);
|
| }
|
|
|
| } // namespace WebCore
|
|
|