| 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 12ebf904b6d06bc8173d091a6770b53d24d314b2..77a3f1de3fcb47eff9c5538a0f18e14df6b34c0a 100644
|
| --- a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
|
| @@ -153,6 +153,9 @@ TEST_F(ScrollingCoordinatorTest, fastScrollingCanBeDisabledWithSetting)
|
|
|
| TEST_F(ScrollingCoordinatorTest, fastFractionalScrollingDiv)
|
| {
|
| + bool origFractionalOffsetsEnabled = RuntimeEnabledFeatures::fractionalScrollOffsetsEnabled();
|
| + RuntimeEnabledFeatures::setFractionalScrollOffsetsEnabled(true);
|
| +
|
| registerMockedHttpURLLoad("fractional-scroll-div.html");
|
| navigateTo(m_baseURL + "fractional-scroll-div.html");
|
| forceFullCompositingUpdate();
|
| @@ -182,6 +185,8 @@ TEST_F(ScrollingCoordinatorTest, fastFractionalScrollingDiv)
|
| ASSERT_TRUE(webScrollLayer);
|
| ASSERT_NEAR(1.2, webScrollLayer->scrollPositionDouble().x, 0.01);
|
| ASSERT_NEAR(1.2, webScrollLayer->scrollPositionDouble().y, 0.01);
|
| +
|
| + RuntimeEnabledFeatures::setFractionalScrollOffsetsEnabled(origFractionalOffsetsEnabled);
|
| }
|
|
|
| static WebLayer* webLayerFromElement(Element* element)
|
|
|