Index: base/time/time.cc |
diff --git a/base/time/time.cc b/base/time/time.cc |
index df3942cc858c5ecc7277a3a5db4e02cc0b946ccb..397ba15d227a710df19614f62e972b43cf0c9600 100644 |
--- a/base/time/time.cc |
+++ b/base/time/time.cc |
@@ -191,10 +191,6 @@ Time Time::FromJsTime(double ms_since_epoch) { |
} |
double Time::ToJsTime() const { |
- if (is_null()) { |
- // Preserve 0 so the invalid result doesn't depend on the platform. |
- return 0; |
- } |
if (is_max()) { |
// Preserve max without offset to prevent overflow. |
return std::numeric_limits<double>::infinity(); |