Index: cc/blink/web_animation_unittest.cc |
diff --git a/cc/blink/web_animation_unittest.cc b/cc/blink/web_animation_unittest.cc |
index a059e080b9c0f951e7b24f1fa115a45ac9ba3525..4cc7f39027ae51b684ac9c12aae4cab29c88ac7b 100644 |
--- a/cc/blink/web_animation_unittest.cc |
+++ b/cc/blink/web_animation_unittest.cc |
@@ -4,8 +4,8 @@ |
#include "base/memory/scoped_ptr.h" |
#include "cc/blink/web_animation_impl.h" |
-#include "cc/blink/web_float_animation_curve_impl.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#include "third_party/WebKit/Source/platform/animation/WebFloatAnimationCurve.h" |
using blink::WebCompositorAnimation; |
using blink::WebCompositorAnimationCurve; |
@@ -15,8 +15,7 @@ namespace cc_blink { |
namespace { |
TEST(WebCompositorAnimationTest, DefaultSettings) { |
- scoped_ptr<WebCompositorAnimationCurve> curve( |
- new WebFloatAnimationCurveImpl()); |
+ scoped_ptr<WebCompositorAnimationCurve> curve(new WebFloatAnimationCurve()); |
scoped_ptr<WebCompositorAnimation> animation(new WebCompositorAnimationImpl( |
*curve, WebCompositorAnimation::TargetPropertyOpacity, 1, 0)); |
@@ -28,7 +27,7 @@ TEST(WebCompositorAnimationTest, DefaultSettings) { |
} |
TEST(WebCompositorAnimationTest, ModifiedSettings) { |
- scoped_ptr<WebFloatAnimationCurve> curve(new WebFloatAnimationCurveImpl()); |
+ scoped_ptr<WebFloatAnimationCurve> curve(new WebFloatAnimationCurve()); |
scoped_ptr<WebCompositorAnimation> animation(new WebCompositorAnimationImpl( |
*curve, WebCompositorAnimation::TargetPropertyOpacity, 1, 0)); |
animation->setIterations(2); |