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..f3d36dc1736034febf28c85e2cc2e593ad5d4d5d 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->scrollPositionDouble().x, 0.01f); |
+ ASSERT_NEAR(1.2f, webScrollLayer->scrollPositionDouble().y, 0.01f); |
RuntimeEnabledFeatures::setFractionalScrollOffsetsEnabled( |
origFractionalOffsetsEnabled); |