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

Unified Diff: Source/modules/filesystem/Metadata.h

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: Stop using time_t over getFileModificationTime(); not sound Created 5 years, 10 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
« no previous file with comments | « Source/modules/filesystem/FileSystemCallbacks.h ('k') | Source/platform/FileMetadata.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/Metadata.h
diff --git a/Source/modules/filesystem/Metadata.h b/Source/modules/filesystem/Metadata.h
index 1f08bb9775051800d885f51ea8df387d87266ceb..cfa2e329464cdc8628c370c2ebecdee8ce833efe 100644
--- a/Source/modules/filesystem/Metadata.h
+++ b/Source/modules/filesystem/Metadata.h
@@ -50,8 +50,8 @@ public:
return new Metadata(metadata->m_platformMetadata);
}
- // Needs to return epoch time in milliseconds for Date while FileMetadata's modificationTime is in seconds.
- double modificationTime() const { return m_platformMetadata.modificationTime * 1000.0; }
+ // Return Epoch time in milliseconds for Date.
+ double modificationTime() const { return m_platformMetadata.modificationTimeMS; }
unsigned long long size() const { return static_cast<unsigned long long>(m_platformMetadata.length); }
void trace(Visitor*) { }
« no previous file with comments | « Source/modules/filesystem/FileSystemCallbacks.h ('k') | Source/platform/FileMetadata.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698