summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/platform/scroll/scroll_animator_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/scroll/scroll_animator_test.cc')
-rw-r--r--chromium/third_party/blink/renderer/platform/scroll/scroll_animator_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/platform/scroll/scroll_animator_test.cc b/chromium/third_party/blink/renderer/platform/scroll/scroll_animator_test.cc
index f228ae00944..8a8441ebcc7 100644
--- a/chromium/third_party/blink/renderer/platform/scroll/scroll_animator_test.cc
+++ b/chromium/third_party/blink/renderer/platform/scroll/scroll_animator_test.cc
@@ -70,6 +70,7 @@ class MockScrollableAreaForAnimatorTest
MOCK_CONST_METHOD0(VisualRectForScrollbarParts, LayoutRect());
MOCK_CONST_METHOD0(IsActive, bool());
+ MOCK_CONST_METHOD0(IsThrottled, bool());
MOCK_CONST_METHOD1(ScrollSize, int(ScrollbarOrientation));
MOCK_CONST_METHOD0(IsScrollCornerVisible, bool());
MOCK_CONST_METHOD0(ScrollCornerRect, IntRect());
@@ -622,7 +623,7 @@ TEST(ScrollAnimatorTest, ImplOnlyAnimationUpdatesCleared) {
animator->AdjustImplOnlyScrollOffsetAnimation(IntSize(10, -10));
EXPECT_TRUE(animator->HasAnimationThatRequiresService());
- EXPECT_EQ(FloatSize(110, 90),
+ EXPECT_EQ(IntSize(110, 90),
animator->ImplOnlyAnimationAdjustmentForTesting());
animator->UpdateCompositorAnimations();