Index: Source/core/animation/AnimationPlayer.cpp |
diff --git a/Source/core/animation/AnimationPlayer.cpp b/Source/core/animation/AnimationPlayer.cpp |
index 64c06896e306042b7529338806bdc05ad31e14c5..95f732adde6e931d15faee04bfff7ea094c642c4 100644 |
--- a/Source/core/animation/AnimationPlayer.cpp |
+++ b/Source/core/animation/AnimationPlayer.cpp |
@@ -899,15 +899,6 @@ AnimationPlayer::PlayStateUpdateScope::~PlayStateUpdateScope() |
InspectorInstrumentation::didCreateAnimationPlayer(m_player->timeline()->document(), *m_player); |
} |
- |
-#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) |
{ |
if (eventType == EventTypeNames::finish) |