| Index: sky/engine/core/animation/AnimationPlayer.cpp
|
| diff --git a/sky/engine/core/animation/AnimationPlayer.cpp b/sky/engine/core/animation/AnimationPlayer.cpp
|
| index 71a568cc31ad6e41873417c6f2112905b643a62a..5df165de0e1e70a8e38124d1f5c908ba7c8e052b 100644
|
| --- a/sky/engine/core/animation/AnimationPlayer.cpp
|
| +++ b/sky/engine/core/animation/AnimationPlayer.cpp
|
| @@ -83,12 +83,10 @@ AnimationPlayer::AnimationPlayer(ExecutionContext* executionContext, AnimationTi
|
|
|
| AnimationPlayer::~AnimationPlayer()
|
| {
|
| -#if !ENABLE(OILPAN)
|
| if (m_content)
|
| m_content->detach();
|
| if (m_timeline)
|
| m_timeline->playerDestroyed(this);
|
| -#endif
|
| }
|
|
|
| double AnimationPlayer::sourceEnd() const
|
| @@ -633,13 +631,11 @@ void AnimationPlayer::cancel()
|
| setSource(0);
|
| }
|
|
|
| -#if !ENABLE(OILPAN)
|
| bool AnimationPlayer::canFree() const
|
| {
|
| ASSERT(m_content);
|
| return hasOneRef() && m_content->isAnimation() && m_content->hasOneRef();
|
| }
|
| -#endif
|
|
|
| bool AnimationPlayer::addEventListener(const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture)
|
| {
|
|
|