Index: base/time/time_unittest.cc |
diff --git a/base/time/time_unittest.cc b/base/time/time_unittest.cc |
index 6c12423d790f2544dca864b85790c480819b2393..456782c64525c45c4921e3a6c9ecafb457378566 100644 |
--- a/base/time/time_unittest.cc |
+++ b/base/time/time_unittest.cc |
@@ -717,7 +717,7 @@ |
TEST(TimeTicks, SnappedToNextTickBasic) { |
base::TimeTicks phase = base::TimeTicks::FromInternalValue(4000); |
- base::TimeDelta interval = base::TimeDelta::FromInternalValue(1000); |
+ base::TimeDelta interval = base::TimeDelta::FromMicroseconds(1000); |
base::TimeTicks timestamp; |
// Timestamp in previous interval. |
@@ -760,7 +760,7 @@ |
// int(big_timestamp / interval) < 0, so this causes a crash if the number of |
// intervals elapsed is attempted to be stored in an int. |
base::TimeTicks phase = base::TimeTicks::FromInternalValue(0); |
- base::TimeDelta interval = base::TimeDelta::FromInternalValue(4000); |
+ base::TimeDelta interval = base::TimeDelta::FromMicroseconds(4000); |
base::TimeTicks big_timestamp = |
base::TimeTicks::FromInternalValue(8635916564000); |