Index: cc/keyframed_animation_curve_unittest.cc |
diff --git a/cc/keyframed_animation_curve_unittest.cc b/cc/keyframed_animation_curve_unittest.cc |
index 2adfededfc0caec963cd5bb8bc8a1b11ec7cc164..a1a0cf96a5d3ec6c4131fe9487475f8257c35e51 100644 |
--- a/cc/keyframed_animation_curve_unittest.cc |
+++ b/cc/keyframed_animation_curve_unittest.cc |
@@ -197,7 +197,7 @@ TEST(KeyframedAnimationCurveTest, CubicBezierTimingFunction) |
EXPECT_FLOAT_EQ(0, curve->getValue(0)); |
EXPECT_LT(0, curve->getValue(0.25)); |
EXPECT_GT(0.25, curve->getValue(0.25)); |
- EXPECT_FLOAT_EQ(0.5, curve->getValue(0.5)); |
+ EXPECT_NEAR(curve->getValue(0.5), 0.5, 0.00015); |
EXPECT_LT(0.75, curve->getValue(0.75)); |
EXPECT_GT(1, curve->getValue(0.75)); |
EXPECT_FLOAT_EQ(1, curve->getValue(1)); |