| Index: net/ftp/ftp_directory_listing_parser_unittest.cc
|
| diff --git a/net/ftp/ftp_directory_listing_parser_unittest.cc b/net/ftp/ftp_directory_listing_parser_unittest.cc
|
| index 583426d98d7032b35ce7ea20fa4a293168236397..d6ea3107614485032faa7b5dcb4637e48d321603 100644
|
| --- a/net/ftp/ftp_directory_listing_parser_unittest.cc
|
| +++ b/net/ftp/ftp_directory_listing_parser_unittest.cc
|
| @@ -49,7 +49,7 @@ TEST_P(FtpDirectoryListingParserTest, Parse) {
|
| mock_current_time_exploded.hour = 12;
|
| mock_current_time_exploded.minute = 45;
|
| base::Time mock_current_time(
|
| - base::Time::FromLocalExploded(mock_current_time_exploded));
|
| + base::Time::FromUTCExploded(mock_current_time_exploded));
|
|
|
| SCOPED_TRACE(base::StringPrintf("Test case: %s", param.name));
|
|
|
| @@ -109,7 +109,7 @@ TEST_P(FtpDirectoryListingParserTest, Parse) {
|
| EXPECT_EQ(size, entry.size);
|
|
|
| base::Time::Exploded time_exploded;
|
| - entry.last_modified.LocalExplode(&time_exploded);
|
| + entry.last_modified.UTCExplode(&time_exploded);
|
| EXPECT_EQ(year, time_exploded.year);
|
| EXPECT_EQ(month, time_exploded.month);
|
| EXPECT_EQ(day_of_month, time_exploded.day_of_month);
|
|
|