Index: net/http/http_util_unittest.cc |
diff --git a/net/http/http_util_unittest.cc b/net/http/http_util_unittest.cc |
index 5d443340e49a817d074f832b86fccf579422e883..38d4b7689f0e0ca0bb12729824aefb899f31a2a4 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, -1, 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, -1, 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; |