diff options
Diffstat (limited to 'chromium/cc/animation/element_animations_unittest.cc')
-rw-r--r-- | chromium/cc/animation/element_animations_unittest.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/chromium/cc/animation/element_animations_unittest.cc b/chromium/cc/animation/element_animations_unittest.cc index 34debd1808a..9e1fa8337f3 100644 --- a/chromium/cc/animation/element_animations_unittest.cc +++ b/chromium/cc/animation/element_animations_unittest.cc @@ -3874,26 +3874,6 @@ TEST_F(ElementAnimationsTest, RemoveAndReAddAnimationToTicking) { EXPECT_EQ(1u, host_->ticking_animations_for_testing().size()); } -TEST_F(ElementAnimationsTest, TickingKeyframeModelsCount) { - CreateTestLayer(false, false); - AttachTimelineAnimationLayer(); - - // Add an animation and ensure the animation is in the host's ticking - // animations. - animation_->AddKeyframeModel(CreateKeyframeModel( - std::unique_ptr<AnimationCurve>(new FakeFloatTransition(1.0, 1.f, 0.5f)), - 2, TargetProperty::OPACITY)); - EXPECT_EQ(1u, animation_->TickingKeyframeModelsCount()); - EXPECT_EQ(1u, host_->CompositedAnimationsCount()); - animation_->AddKeyframeModel(CreateKeyframeModel( - std::unique_ptr<AnimationCurve>(new FakeTransformTransition(1)), 1, - TargetProperty::TRANSFORM)); - EXPECT_EQ(2u, animation_->TickingKeyframeModelsCount()); - EXPECT_EQ(2u, host_->CompositedAnimationsCount()); - animation_->keyframe_effect()->RemoveFromTicking(); - EXPECT_EQ(0u, host_->CompositedAnimationsCount()); -} - // This test verifies that finished keyframe models don't get copied over to // impl thread. TEST_F(ElementAnimationsTest, FinishedKeyframeModelsNotCopiedToImpl) { |