Index: ui/gfx/geometry/safe_integer_conversions_unittest.cc |
diff --git a/ui/gfx/geometry/safe_integer_conversions_unittest.cc b/ui/gfx/geometry/safe_integer_conversions_unittest.cc |
index e00671b264a5869c3a7d585ab84f3b8d184d18e2..20e05b49e0f6caaab79d14380b73ce0d4b53ad84 100644 |
--- a/ui/gfx/geometry/safe_integer_conversions_unittest.cc |
+++ b/ui/gfx/geometry/safe_integer_conversions_unittest.cc |
@@ -48,7 +48,7 @@ TEST(SafeIntegerConversions, ToFlooredInt) { |
EXPECT_EQ(int_max, ToFlooredInt(max + 100)); |
EXPECT_EQ(-101, ToFlooredInt(-100.5f)); |
- EXPECT_EQ(0, ToFlooredInt(0)); |
+ EXPECT_EQ(0, ToFlooredInt(0.f)); |
EXPECT_EQ(100, ToFlooredInt(100.5f)); |
EXPECT_EQ(int_min, ToFlooredInt(-infinity)); |
@@ -71,7 +71,7 @@ TEST(SafeIntegerConversions, ToCeiledInt) { |
EXPECT_EQ(int_max, ToCeiledInt(max + 100)); |
EXPECT_EQ(-100, ToCeiledInt(-100.5f)); |
- EXPECT_EQ(0, ToCeiledInt(0)); |
+ EXPECT_EQ(0, ToCeiledInt(0.f)); |
EXPECT_EQ(101, ToCeiledInt(100.5f)); |
EXPECT_EQ(int_min, ToCeiledInt(-infinity)); |