summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/tests/WebAnimationTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/tests/WebAnimationTest.cpp')
-rw-r--r--Source/WebKit/chromium/tests/WebAnimationTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit/chromium/tests/WebAnimationTest.cpp b/Source/WebKit/chromium/tests/WebAnimationTest.cpp
index df830cae6..c2ccc4503 100644
--- a/Source/WebKit/chromium/tests/WebAnimationTest.cpp
+++ b/Source/WebKit/chromium/tests/WebAnimationTest.cpp
@@ -47,7 +47,7 @@ namespace {
TEST(WebAnimationTest, MAYBE_DefaultSettings)
{
WebFloatAnimationCurve curve;
- WebAnimation animation(curve, WebAnimation::WebAnimationOpacity);
+ WebAnimation animation(curve, WebAnimation::TargetPropertyOpacity);
// Ensure that the defaults are correct.
EXPECT_EQ(1, animation.iterations());
@@ -68,7 +68,7 @@ TEST(WebAnimationTest, MAYBE_DefaultSettings)
TEST(WebAnimationTest, MAYBE_ModifiedSettings)
{
WebFloatAnimationCurve curve;
- WebAnimation animation(curve, WebAnimation::WebAnimationOpacity);
+ WebAnimation animation(curve, WebAnimation::TargetPropertyOpacity);
animation.setIterations(2);
animation.setStartTime(2);
animation.setTimeOffset(2);