Index: third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp |
index 70d1e4787feddf35de177e6c4a274006293e2e8f..b72c7105ce4976c93be31e0f759ff0eb1fb89603 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp |
@@ -116,7 +116,7 @@ TEST(ScrollAnimatorTest, Enabled) |
ScrollResultOneDimensional result = scrollAnimator->userScroll(HorizontalScrollbar, ScrollByLine, 100, -1); |
EXPECT_FALSE(scrollAnimator->hasRunningAnimation()); |
EXPECT_FALSE(result.didScroll); |
- EXPECT_FLOAT_EQ(-100.0, result.unusedScrollDelta); |
+ EXPECT_FLOAT_EQ(-1.0f, result.unusedScrollDelta); |
result = scrollAnimator->userScroll(HorizontalScrollbar, ScrollByLine, 100, 1); |
EXPECT_TRUE(scrollAnimator->hasRunningAnimation()); |