Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3170)

Unified Diff: cc/blink/web_animation_unittest.cc

Issue 1616653002: CC Animation: Move files from cc_blink to Source/platform/animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698