| Index: base/file_util_win.cc
|
| diff --git a/base/file_util_win.cc b/base/file_util_win.cc
|
| index d1337a29184f944bcd676321260ed6ad2763a8b6..eb72afbea4dd17355f8e1c0ed896e90029c7d223 100644
|
| --- a/base/file_util_win.cc
|
| +++ b/base/file_util_win.cc
|
| @@ -988,8 +988,9 @@ void MemoryMappedFile::CloseHandles() {
|
| bool HasFileBeenModifiedSince(const FileEnumerator::FindInfo& find_info,
|
| const base::Time& cutoff_time) {
|
| base::ThreadRestrictions::AssertIOAllowed();
|
| + FILETIME file_time = cutoff_time.ToFileTime();
|
| long result = CompareFileTime(&find_info.ftLastWriteTime, // NOLINT
|
| - &cutoff_time.ToFileTime());
|
| + &file_time);
|
| return result == 1 || result == 0;
|
| }
|
|
|
|
|