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

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

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/Animation.cpp ('k') | sky/engine/core/animation/AnimationPlayer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/animation/AnimationPlayer.h
diff --git a/sky/engine/core/animation/AnimationPlayer.h b/sky/engine/core/animation/AnimationPlayer.h
index beeee71f21a57c925eceaaa4521f0f06ec41b299..ed715cd6da6d7ae3729e0f3d2dea7fc4093bed09 100644
--- a/sky/engine/core/animation/AnimationPlayer.h
+++ b/sky/engine/core/animation/AnimationPlayer.h
@@ -101,9 +101,7 @@ public:
const AnimationTimeline* timeline() const { return m_timeline; }
AnimationTimeline* timeline() { return m_timeline; }
-#if !ENABLE(OILPAN)
void timelineDestroyed() { m_timeline = nullptr; }
-#endif
double calculateStartTime(double currentTime) const;
bool hasStartTime() const { return !isNull(m_startTime); }
@@ -143,11 +141,8 @@ public:
return player1->sequenceNumber() < player2->sequenceNumber();
}
-#if !ENABLE(OILPAN)
// Checks if the AnimationStack is the last reference holder to the Player.
- // This won't be needed when AnimationPlayer is moved to Oilpan.
bool canFree() const;
-#endif
virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture = false) override;
« no previous file with comments | « sky/engine/core/animation/Animation.cpp ('k') | sky/engine/core/animation/AnimationPlayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698