| Index: third_party/zlib/google/zip_reader.cc
|
| diff --git a/third_party/zlib/google/zip_reader.cc b/third_party/zlib/google/zip_reader.cc
|
| index a962fa10d7cf5db9663d008914ff0b096ca09d17..b21b243a9baaf513003f222497205840756ecc48 100644
|
| --- a/third_party/zlib/google/zip_reader.cc
|
| +++ b/third_party/zlib/google/zip_reader.cc
|
| @@ -166,12 +166,9 @@ ZipReader::EntryInfo::EntryInfo(const std::string& file_name_in_zip,
|
| exploded_time.minute = raw_file_info.tmu_date.tm_min;
|
| exploded_time.second = raw_file_info.tmu_date.tm_sec;
|
| exploded_time.millisecond = 0;
|
| - if (exploded_time.HasValidValues()) {
|
| - last_modified_ = base::Time::FromLocalExploded(exploded_time);
|
| - } else {
|
| - // Use Unix time epoch if the time stamp data is invalid.
|
| +
|
| + if (!base::Time::FromLocalExploded(exploded_time, &last_modified_))
|
| last_modified_ = base::Time::UnixEpoch();
|
| - }
|
| }
|
|
|
| ZipReader::ZipReader()
|
|
|