Index: Source/core/animation/Animation.cpp |
diff --git a/Source/core/animation/Animation.cpp b/Source/core/animation/Animation.cpp |
index 5103120d88fef661182dd039d0726bcd241fb484..cc4d63eedea829401dfefc123460e3f3c6c09b2c 100644 |
--- a/Source/core/animation/Animation.cpp |
+++ b/Source/core/animation/Animation.cpp |
@@ -120,8 +120,8 @@ Animation::~Animation() |
#if !ENABLE(OILPAN) |
void Animation::detachFromTimeline() |
{ |
- dispose(); |
m_timeline = nullptr; |
+ ActiveDOMObject::clearContext(); |
} |
#endif |