| Index: Source/web/WebFileChooserCompletionImpl.cpp
|
| diff --git a/Source/web/WebFileChooserCompletionImpl.cpp b/Source/web/WebFileChooserCompletionImpl.cpp
|
| index 3a1f4b3743133a522f5bd50315ba949eb2a4ebc3..49948fafd426deb391f3f558f5abbde785ffe289 100644
|
| --- a/Source/web/WebFileChooserCompletionImpl.cpp
|
| +++ b/Source/web/WebFileChooserCompletionImpl.cpp
|
| @@ -31,6 +31,7 @@
|
| #include "config.h"
|
| #include "web/WebFileChooserCompletionImpl.h"
|
| #include "platform/FileMetadata.h"
|
| +#include "wtf/DateMath.h"
|
|
|
| namespace blink {
|
|
|
| @@ -61,7 +62,7 @@ void WebFileChooserCompletionImpl::didChooseFile(const WebVector<SelectedFileInf
|
| fileInfo.append(FileChooserFileInfo(files[i].path, files[i].displayName));
|
| } else {
|
| FileMetadata metadata;
|
| - metadata.modificationTime = files[i].modificationTime;
|
| + metadata.modificationTimeMS = files[i].modificationTime * msPerSecond;
|
| metadata.length = files[i].length;
|
| metadata.type = files[i].isDirectory ? FileMetadata::TypeDirectory : FileMetadata::TypeFile;
|
| fileInfo.append(FileChooserFileInfo(files[i].fileSystemURL, metadata));
|
|
|