| Index: net/http/http_util_unittest.cc
|
| diff --git a/net/http/http_util_unittest.cc b/net/http/http_util_unittest.cc
|
| index 4a1257deb697e6a49866338129b320bb84ab0819..81d55a15191530d73f9d2cae63067de0b7f8f921 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;
|
|
|