Index: Source/platform/FileMetadata.cpp |
diff --git a/Source/platform/FileMetadata.cpp b/Source/platform/FileMetadata.cpp |
index 6a9048a9959bfe2a3dbf4703f14b2d6c5f7d5594..beaef6d1dccb63b0f27367ee79a878f124097f92 100644 |
--- a/Source/platform/FileMetadata.cpp |
+++ b/Source/platform/FileMetadata.cpp |
@@ -46,12 +46,12 @@ bool getFileSize(const String& path, long long& result) |
return true; |
} |
-bool getFileModificationTime(const String& path, time_t& result) |
+bool getFileModificationTime(const String& path, double& 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; |