| Index: net/http/http_util_unittest.cc
|
| diff --git a/net/http/http_util_unittest.cc b/net/http/http_util_unittest.cc
|
| index ee38dc6a465019d14df5be0753b3e4c0e0fd7ea0..bac9a21b0c70d381c87848d90deb43fc86c8b0d0 100644
|
| --- a/net/http/http_util_unittest.cc
|
| +++ b/net/http/http_util_unittest.cc
|
| @@ -1043,10 +1043,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;
|
|
|