Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: webrtc/base/fileutils.cc

Issue 1835053002: Change default timestamp to 64 bits in all webrtc directories. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: minor fixes Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/base/fileutils.cc
diff --git a/webrtc/base/fileutils.cc b/webrtc/base/fileutils.cc
index cb23153de779328c3cf3391a0df87aed6ddaa283..d354dd8eb56d4ce79dda47b224ab1e5e603849d6 100644
--- a/webrtc/base/fileutils.cc
+++ b/webrtc/base/fileutils.cc
@@ -133,7 +133,7 @@ bool DirectoryIterator::OlderThan(int seconds) const {
#else
file_modify_time = stat_.st_mtime;
#endif
- return TimeDiff(time(NULL), file_modify_time) >= seconds;
+ return time(NULL) - file_modify_time >= seconds;
}
FilesystemInterface* Filesystem::default_filesystem_ = NULL;

Powered by Google App Engine
This is Rietveld 408576698