Index: third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerTest.cpp |
diff --git a/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerTest.cpp b/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerTest.cpp |
index daa8206dc7cac27c65eb85a016064639f45ea6f7..25f97380687f0d3fccc5e66395efdde3163b6459 100644 |
--- a/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerTest.cpp |
+++ b/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerTest.cpp |
@@ -62,13 +62,13 @@ TEST_F(CompositorAnimationPlayerTest, NullDelegate) |
player->setAnimationDelegate(delegate.get()); |
EXPECT_FALSE(delegate->m_finished); |
- ccPlayer->NotifyAnimationFinished(base::TimeTicks(), CompositorTargetProperty::SCROLL_OFFSET, 0); |
+ ccPlayer->OnAnimationFinished(base::TimeTicks(), CompositorTargetProperty::SCROLL_OFFSET, 0); |
EXPECT_TRUE(delegate->m_finished); |
delegate->resetFlags(); |
player->setAnimationDelegate(nullptr); |
- ccPlayer->NotifyAnimationFinished(base::TimeTicks(), CompositorTargetProperty::SCROLL_OFFSET, 0); |
+ ccPlayer->OnAnimationFinished(base::TimeTicks(), CompositorTargetProperty::SCROLL_OFFSET, 0); |
EXPECT_FALSE(delegate->m_finished); |
} |
@@ -86,7 +86,7 @@ TEST_F(CompositorAnimationPlayerTest, NotifyFromCCAfterCompositorPlayerDeletion) |
player = nullptr; |
// No notifications. Doesn't crash. |
- ccPlayer->NotifyAnimationFinished(base::TimeTicks(), CompositorTargetProperty::OPACITY, 0); |
+ ccPlayer->OnAnimationFinished(base::TimeTicks(), CompositorTargetProperty::OPACITY, 0); |
EXPECT_FALSE(delegate->m_finished); |
} |