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 5c98c23f6301c757e10645ae62b65e899fdf00ce..6cdb1825f44599c66a5c0b6333c6c78f5ae26e40 100644 |
--- a/net/ftp/ftp_directory_listing_parser_unittest.cc |
+++ b/net/ftp/ftp_directory_listing_parser_unittest.cc |
@@ -48,8 +48,9 @@ TEST_P(FtpDirectoryListingParserTest, Parse) { |
mock_current_time_exploded.day_of_month = 15; |
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 mock_current_time; |
+ EXPECT_TRUE(base::Time::FromLocalExploded(mock_current_time_exploded, |
+ &mock_current_time)); |
SCOPED_TRACE(base::StringPrintf("Test case: %s", param.name)); |