| 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 1a8fb974ba18712e52eb7276db458f7797a3324b..c3436cef2669b7828cf2923cf10f3649af17856f 100644
|
| --- a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp
|
| @@ -627,9 +627,8 @@ TEST(ScrollAnimatorTest, MainThreadAnimationTargetAdjustment)
|
| EXPECT_GT(pos.y(), 0);
|
|
|
| // Adjustment
|
| - IntSize adjustment = IntSize(10, -10);
|
| - animator->adjustAnimationAndSetScrollPosition(adjustment, AnchoringScroll);
|
| - EXPECT_EQ(pos + FloatSize(adjustment), animator->currentPosition());
|
| + FloatPoint newPos = pos + FloatSize(10, -10);
|
| + animator->adjustAnimationAndSetScrollPosition(newPos, AnchoringScroll);
|
| EXPECT_EQ(FloatPoint(110, 90), animator->desiredTargetPosition());
|
|
|
| // Animation finished
|
|
|