| Index: third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
|
| index 459e94cb72b8170d0310c29074478d0a977d9581..cf86434da7dc98c37cb6f1f9c158352f93435025 100644
|
| --- a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
|
| @@ -265,8 +265,9 @@ TEST_F(RootScrollerTest, TestSetRootScroller) {
|
| {
|
| // Scroll 50 pixels past the end. Ensure we report the 50 pixels as
|
| // overscroll.
|
| - EXPECT_CALL(client, didOverscroll(WebFloatSize(0, 50), WebFloatSize(0, 50),
|
| - WebFloatPoint(100, 100), WebFloatSize()));
|
| + EXPECT_CALL(client,
|
| + didOverscroll(WebFloatSize(0, 50), WebFloatSize(0, 50),
|
| + WebFloatPoint(100, 100), WebFloatSize()));
|
| webViewImpl()->handleInputEvent(
|
| generateTouchGestureEvent(WebInputEvent::GestureScrollUpdate, 0, -500));
|
| EXPECT_FLOAT_EQ(maximumScroll, container->scrollTop());
|
| @@ -276,8 +277,9 @@ TEST_F(RootScrollerTest, TestSetRootScroller) {
|
|
|
| {
|
| // Continue the gesture overscroll.
|
| - EXPECT_CALL(client, didOverscroll(WebFloatSize(0, 20), WebFloatSize(0, 70),
|
| - WebFloatPoint(100, 100), WebFloatSize()));
|
| + EXPECT_CALL(client,
|
| + didOverscroll(WebFloatSize(0, 20), WebFloatSize(0, 70),
|
| + WebFloatPoint(100, 100), WebFloatSize()));
|
| webViewImpl()->handleInputEvent(
|
| generateTouchGestureEvent(WebInputEvent::GestureScrollUpdate, 0, -20));
|
| EXPECT_FLOAT_EQ(maximumScroll, container->scrollTop());
|
| @@ -294,8 +296,9 @@ TEST_F(RootScrollerTest, TestSetRootScroller) {
|
| webViewImpl()->handleInputEvent(
|
| generateTouchGestureEvent(WebInputEvent::GestureScrollBegin));
|
|
|
| - EXPECT_CALL(client, didOverscroll(WebFloatSize(0, 30), WebFloatSize(0, 30),
|
| - WebFloatPoint(100, 100), WebFloatSize()));
|
| + EXPECT_CALL(client,
|
| + didOverscroll(WebFloatSize(0, 30), WebFloatSize(0, 30),
|
| + WebFloatPoint(100, 100), WebFloatSize()));
|
| webViewImpl()->handleInputEvent(
|
| generateTouchGestureEvent(WebInputEvent::GestureScrollUpdate, 0, -30));
|
| EXPECT_FLOAT_EQ(maximumScroll, container->scrollTop());
|
|
|