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

Unified Diff: cc/animation/animation_player.cc

Issue 1456303002: CC Animations: Allow AnimationPlayers attached to layers but not attached to timelines/host to die … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_player.cc
diff --git a/cc/animation/animation_player.cc b/cc/animation/animation_player.cc
index 0c380118987882b29692f850b4b8c26c8e769fcf..f28e4d432fc67bf6b1969912c93c44a6bca91422 100644
--- a/cc/animation/animation_player.cc
+++ b/cc/animation/animation_player.cc
@@ -29,7 +29,6 @@ AnimationPlayer::AnimationPlayer(int id)
AnimationPlayer::~AnimationPlayer() {
DCHECK(!animation_timeline_);
DCHECK(!element_animations_);
- DCHECK(!layer_id_);
}
scoped_refptr<AnimationPlayer> AnimationPlayer::CreateImplInstance() const {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698