| Index: Source/core/animation/CompositorAnimationsTimingFunctionReverserTest.cpp
|
| diff --git a/Source/core/animation/CompositorAnimationsTimingFunctionReverserTest.cpp b/Source/core/animation/CompositorAnimationsTimingFunctionReverserTest.cpp
|
| index 102f4efdb69db79a8bd4d722fcfaeaf1b3412f91..78c69899b5eacec25b7d0e93515fceb5a75c41cb 100644
|
| --- a/Source/core/animation/CompositorAnimationsTimingFunctionReverserTest.cpp
|
| +++ b/Source/core/animation/CompositorAnimationsTimingFunctionReverserTest.cpp
|
| @@ -32,8 +32,6 @@
|
|
|
| #include "core/animation/CompositorAnimations.h"
|
|
|
| -#include "platform/animation/TimingFunctionTestHelper.h"
|
| -
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefPtr.h"
|
|
|
| @@ -84,24 +82,4 @@ TEST_F(AnimationCompositorAnimationsTimingFunctionReverserTest, CubicReverse)
|
| EXPECT_REFV_EQ(cubicEaseTimingReversed, reverse(cubicEaseTiming));
|
| }
|
|
|
| -TEST_F(AnimationCompositorAnimationsTimingFunctionReverserTest, ChainedReverse)
|
| -{
|
| - RefPtr<TimingFunction> linearTiming = LinearTimingFunction::create();
|
| - RefPtr<ChainedTimingFunction> chainedLinearSingle = ChainedTimingFunction::create();
|
| - chainedLinearSingle->appendSegment(1.0, linearTiming.get());
|
| - EXPECT_REFV_EQ(chainedLinearSingle, reverse(chainedLinearSingle));
|
| -
|
| - RefPtr<TimingFunction> cubicEaseInTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn);
|
| - RefPtr<TimingFunction> cubicEaseOutTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseOut);
|
| -
|
| - RefPtr<ChainedTimingFunction> chainedMixed = ChainedTimingFunction::create();
|
| - chainedMixed->appendSegment(0.75, chainedLinearSingle.get());
|
| - chainedMixed->appendSegment(1.0, cubicEaseInTiming.get());
|
| -
|
| - RefPtr<ChainedTimingFunction> chainedMixedReversed = ChainedTimingFunction::create();
|
| - chainedMixedReversed->appendSegment(0.25, cubicEaseOutTiming.get());
|
| - chainedMixedReversed->appendSegment(1.0, chainedLinearSingle.get());
|
| - EXPECT_REFV_EQ(chainedMixedReversed, reverse(chainedMixed));
|
| -}
|
| -
|
| } // namespace
|
|
|