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

Unified Diff: Source/platform/FileMetadata.cpp

Issue 884393002: Upgrade Blink to milliseconds-based last modified filetimes, part 3. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@sof-fileinfo-modtime-in-ms-1
Patch Set: fix fast/storage test Created 5 years, 11 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: Source/platform/FileMetadata.cpp
diff --git a/Source/platform/FileMetadata.cpp b/Source/platform/FileMetadata.cpp
index 6a9048a9959bfe2a3dbf4703f14b2d6c5f7d5594..1ede2acd1a55f2f31c3e2a571e8aa87afcb7d569 100644
--- a/Source/platform/FileMetadata.cpp
+++ b/Source/platform/FileMetadata.cpp
@@ -51,7 +51,7 @@ bool getFileModificationTime(const String& path, time_t& result)
FileMetadata metadata;
if (!getFileMetadata(path, metadata))
return false;
- result = metadata.modificationTime;
+ result = metadata.modificationTimeMS;
return true;
}
@@ -60,7 +60,7 @@ bool getFileMetadata(const String& path, FileMetadata& metadata)
WebFileInfo webFileInfo;
if (!Platform::current()->fileUtilities()->getFileInfo(path, webFileInfo))
return false;
- metadata.modificationTime = webFileInfo.modificationTime;
+ metadata.modificationTimeMS = webFileInfo.modificationTimeMS;
metadata.length = webFileInfo.length;
metadata.type = static_cast<FileMetadata::Type>(webFileInfo.type);
return true;

Powered by Google App Engine
This is Rietveld 408576698