Index: net/ftp/ftp_util.cc |
diff --git a/net/ftp/ftp_util.cc b/net/ftp/ftp_util.cc |
index c61d986442b2863e0f250b620e84cd753d792a03..9db9453d96d4a8fce6c7e415bba8a764dd036e3f 100644 |
--- a/net/ftp/ftp_util.cc |
+++ b/net/ftp/ftp_util.cc |
@@ -286,8 +286,7 @@ bool FtpUtil::LsDateListingToTime(const base::string16& month, |
} |
// We don't know the time zone of the listing, so just use UTC. |
- *result = base::Time::FromUTCExploded(time_exploded); |
- return true; |
+ return base::Time::FromUTCExploded(time_exploded, result); |
} |
// static |
@@ -349,8 +348,7 @@ bool FtpUtil::WindowsDateListingToTime(const base::string16& date, |
} |
// We don't know the time zone of the server, so just use UTC. |
- *result = base::Time::FromUTCExploded(time_exploded); |
- return true; |
+ return base::Time::FromUTCExploded(time_exploded, result); |
} |
// static |