Index: cc/animation/animation_player.cc |
diff --git a/cc/animation/animation_player.cc b/cc/animation/animation_player.cc |
index 0bec9265426789d5dd537e56913198e88d4624cb..0c380118987882b29692f850b4b8c26c8e769fcf 100644 |
--- a/cc/animation/animation_player.cc |
+++ b/cc/animation/animation_player.cc |
@@ -119,9 +119,8 @@ void AnimationPlayer::UnbindElementAnimations() { |
} |
void AnimationPlayer::AddAnimation(scoped_ptr<Animation> animation) { |
- DCHECK_IMPLIES( |
- animation->target_property() == Animation::SCROLL_OFFSET, |
- animation_host_ && animation_host_->SupportsScrollAnimations()); |
+ DCHECK(animation->target_property() != Animation::SCROLL_OFFSET || |
+ (animation_host_ && animation_host_->SupportsScrollAnimations())); |
if (element_animations_) { |
element_animations_->layer_animation_controller()->AddAnimation( |