Index: net/quic/quic_clock_test.cc |
diff --git a/net/quic/quic_clock_test.cc b/net/quic/quic_clock_test.cc |
index 7b106c1efdbd1176fc054c4b3758ebb63e9a5d7b..6ee4540889f7a1115f1962f5a216efb19c1d05f4 100644 |
--- a/net/quic/quic_clock_test.cc |
+++ b/net/quic/quic_clock_test.cc |
@@ -29,10 +29,8 @@ TEST(QuicClockTest, WallNow) { |
// If end > start, then we can check now is between start and end. |
if (end > start) { |
- EXPECT_LE(static_cast<uint64>(start.ToInternalValue() / 1000000), |
- now.ToUNIXSeconds()); |
- EXPECT_LE(now.ToUNIXSeconds(), |
- static_cast<uint64>(end.ToInternalValue() / 1000000)); |
+ EXPECT_LE(static_cast<uint64>(start.ToTimeT()), now.ToUNIXSeconds()); |
+ EXPECT_LE(now.ToUNIXSeconds(), static_cast<uint64>(end.ToTimeT())); |
} |
} |