Index: cc/animation/animation_player_unittest.cc |
diff --git a/cc/animation/animation_player_unittest.cc b/cc/animation/animation_player_unittest.cc |
index 41acac4a01f0cc220802e548ca356a9c3d328d09..8354bbccb6f3a0785e749748b287a429b0befa29 100644 |
--- a/cc/animation/animation_player_unittest.cc |
+++ b/cc/animation/animation_player_unittest.cc |
@@ -312,7 +312,8 @@ TEST_F(AnimationPlayerTest, AddRemoveAnimationCausesSetNeedsCommit) { |
timeline_->AttachPlayer(player_); |
player_->AttachElement(element_id_); |
- EXPECT_FALSE(client_.mutators_need_commit()); |
+ EXPECT_TRUE(client_.mutators_need_commit()); |
+ client_.set_mutators_need_commit(false); |
const int animation_id = |
AddOpacityTransitionToPlayer(player_.get(), 1., .7f, .3f, false); |