Index: third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp |
index 0298780e888e23de675fc26ca134613779f37009..e0a9c98c41ca3d0d0ed52ce8200b9e28c10d39f8 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp |
@@ -449,7 +449,7 @@ TEST(ScrollAnimatorTest, CancellingAnimationResetsState) |
TEST(ScrollAnimatorTest, CancellingCompositorAnimation) |
{ |
RawPtr<MockScrollableArea> scrollableArea = MockScrollableArea::create(true); |
- RawPtr<TestScrollAnimator> scrollAnimator = adoptPtrWillBeNoop(new TestScrollAnimator(scrollableArea.get(), getMockedTime)); |
+ RawPtr<TestScrollAnimator> scrollAnimator = new TestScrollAnimator(scrollableArea.get(), getMockedTime); |
EXPECT_CALL(*scrollableArea, minimumScrollPosition()).Times(AtLeast(1)) |
.WillRepeatedly(Return(IntPoint())); |