Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: sky/engine/core/animation/AnimationPlayer.cpp

Issue 718873003: Remove most of config.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/animation/AnimationPlayer.h ('k') | sky/engine/core/css/CSSRule.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
{
« no previous file with comments | « sky/engine/core/animation/AnimationPlayer.h ('k') | sky/engine/core/css/CSSRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698