| Index: net/http/http_util_unittest.cc
|
| diff --git a/net/http/http_util_unittest.cc b/net/http/http_util_unittest.cc
|
| index 6af616c1a8add07a2434b98c4311759cecdc46b3..2bcfb2a4bb6afdbb0b0962458311bbbe5d8b6e3c 100644
|
| --- a/net/http/http_util_unittest.cc
|
| +++ b/net/http/http_util_unittest.cc
|
| @@ -1030,10 +1030,12 @@ TEST(HttpUtilTest, ParseContentRangeHeader) {
|
|
|
| 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;
|
|
|