| Index: third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
|
| index 68cc8c28edfae3c546efd1acae547db13cda0950..4b770309361658627856d9645e1e7b40cba42622 100644
|
| --- a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
|
| @@ -210,8 +210,8 @@ TEST_F(ScrollingCoordinatorTest, fastFractionalScrollingDiv) {
|
| WebLayer* webScrollLayer =
|
| compositedLayerMapping->scrollingContentsLayer()->platformLayer();
|
| ASSERT_TRUE(webScrollLayer);
|
| - ASSERT_NEAR(1.2, webScrollLayer->scrollPositionDouble().x, 0.01);
|
| - ASSERT_NEAR(1.2, webScrollLayer->scrollPositionDouble().y, 0.01);
|
| + ASSERT_NEAR(1.2f, webScrollLayer->scrollOffset().width, 0.01f);
|
| + ASSERT_NEAR(1.2f, webScrollLayer->scrollOffset().height, 0.01f);
|
|
|
| RuntimeEnabledFeatures::setFractionalScrollOffsetsEnabled(
|
| origFractionalOffsetsEnabled);
|
| @@ -603,7 +603,7 @@ TEST_F(ScrollingCoordinatorTest, rtlIframe) {
|
| int expectedScrollPosition =
|
| 958 +
|
| (innerFrameView->verticalScrollbar()->isOverlayScrollbar() ? 0 : 15);
|
| - ASSERT_EQ(expectedScrollPosition, webScrollLayer->scrollPositionDouble().x);
|
| + ASSERT_EQ(expectedScrollPosition, webScrollLayer->scrollOffset().width);
|
| }
|
|
|
| TEST_F(ScrollingCoordinatorTest, setupScrollbarLayerShouldNotCrash) {
|
|
|