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

Unified Diff: Source/web/WebFileChooserCompletionImpl.cpp

Issue 900773003: Revert of 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: 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/platform/exported/WebFileSystemCallbacks.cpp ('k') | public/web/WebFileChooserCompletion.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebFileChooserCompletionImpl.cpp
diff --git a/Source/web/WebFileChooserCompletionImpl.cpp b/Source/web/WebFileChooserCompletionImpl.cpp
index 49948fafd426deb391f3f558f5abbde785ffe289..3a1f4b3743133a522f5bd50315ba949eb2a4ebc3 100644
--- a/Source/web/WebFileChooserCompletionImpl.cpp
+++ b/Source/web/WebFileChooserCompletionImpl.cpp
@@ -31,7 +31,6 @@
#include "config.h"
#include "web/WebFileChooserCompletionImpl.h"
#include "platform/FileMetadata.h"
-#include "wtf/DateMath.h"
namespace blink {
@@ -62,7 +61,7 @@
fileInfo.append(FileChooserFileInfo(files[i].path, files[i].displayName));
} else {
FileMetadata metadata;
- metadata.modificationTimeMS = files[i].modificationTime * msPerSecond;
+ metadata.modificationTime = files[i].modificationTime;
metadata.length = files[i].length;
metadata.type = files[i].isDirectory ? FileMetadata::TypeDirectory : FileMetadata::TypeFile;
fileInfo.append(FileChooserFileInfo(files[i].fileSystemURL, metadata));
« no previous file with comments | « Source/platform/exported/WebFileSystemCallbacks.cpp ('k') | public/web/WebFileChooserCompletion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698