| Index: Source/WebKit/chromium/tests/ScrollAnimatorNoneTest.cpp
|
| diff --git a/Source/WebKit/chromium/tests/ScrollAnimatorNoneTest.cpp b/Source/WebKit/chromium/tests/ScrollAnimatorNoneTest.cpp
|
| index 1ec39a0d51e28da2bc1ccbc7a8c672a11e9a2bfa..3c5da294579bc2974e99642abf81ef0552d15d0d 100644
|
| --- a/Source/WebKit/chromium/tests/ScrollAnimatorNoneTest.cpp
|
| +++ b/Source/WebKit/chromium/tests/ScrollAnimatorNoneTest.cpp
|
| @@ -117,6 +117,8 @@ TEST(ScrollAnimatorEnabled, Enabled)
|
| MockScrollAnimatorNone scrollAnimatorNone(&scrollableArea);
|
|
|
| EXPECT_CALL(scrollableArea, scrollSize(_)).Times(AtLeast(1)).WillRepeatedly(Return(1000));
|
| + EXPECT_CALL(scrollableArea, minimumScrollPosition()).Times(AtLeast(1)).WillRepeatedly(Return(IntPoint()));
|
| + EXPECT_CALL(scrollableArea, maximumScrollPosition()).Times(AtLeast(1)).WillRepeatedly(Return(IntPoint(1000, 1000)));
|
| EXPECT_CALL(scrollableArea, setScrollOffset(_)).Times(4);
|
|
|
| scrollAnimatorNone.scroll(HorizontalScrollbar, ScrollByLine, 100, 1);
|
| @@ -149,7 +151,8 @@ TEST(ScrollAnimatorEnabled, Disabled)
|
| MockScrollableArea scrollableArea(false);
|
| MockScrollAnimatorNone scrollAnimatorNone(&scrollableArea);
|
|
|
| - EXPECT_CALL(scrollableArea, scrollSize(_)).Times(AtLeast(1)).WillRepeatedly(Return(1000));
|
| + EXPECT_CALL(scrollableArea, minimumScrollPosition()).Times(AtLeast(1)).WillRepeatedly(Return(IntPoint()));
|
| + EXPECT_CALL(scrollableArea, maximumScrollPosition()).Times(AtLeast(1)).WillRepeatedly(Return(IntPoint(1000, 1000)));
|
| EXPECT_CALL(scrollableArea, setScrollOffset(_)).Times(4);
|
|
|
| scrollAnimatorNone.scroll(HorizontalScrollbar, ScrollByLine, 100, 1);
|
|
|