Index: net/http/http_util_unittest.cc |
diff --git a/net/http/http_util_unittest.cc b/net/http/http_util_unittest.cc |
index f2c2146215ecc645bbea998d1cd7cd8002b82d0f..2441f08d3610b3fd7f334372c54474db1846d19c 100644 |
--- a/net/http/http_util_unittest.cc |
+++ b/net/http/http_util_unittest.cc |
@@ -965,10 +965,12 @@ TEST(HttpUtilTest, ParseRanges) { |
TEST(HttpUtilTest, ParseRetryAfterHeader) { |
base::Time::Exploded now_exploded = {2014, 11, 4, 5, 22, 39, 30, 0}; |
- base::Time now = base::Time::FromUTCExploded(now_exploded); |
+ base::Time now; |
+ EXPECT_TRUE(base::Time::FromUTCExploded(now_exploded, &now)); |
base::Time::Exploded later_exploded = {2015, 1, 5, 1, 12, 34, 56, 0}; |
- base::Time later = base::Time::FromUTCExploded(later_exploded); |
+ base::Time later; |
+ EXPECT_TRUE(base::Time::FromUTCExploded(later_exploded, &later)); |
const struct { |
const char* retry_after_string; |