Index: Source/core/fileapi/File.h |
diff --git a/Source/core/fileapi/File.h b/Source/core/fileapi/File.h |
index 1c3bc1b7558ece32b23781cc66dcf21c0798c528..1da8178962e695fcdeff01912b5fa64d02fd364a 100644 |
--- a/Source/core/fileapi/File.h |
+++ b/Source/core/fileapi/File.h |
@@ -62,6 +62,10 @@ public: |
{ |
return adoptRefWillBeNoop(new File(path, name, relativePath, hasSnaphotData, size, lastModified, blobDataHandle)); |
} |
+ static PassRefPtrWillBeRawPtr<File> create(const String& path, const String& name, uint64_t size, double lastModified, PassRefPtr<BlobDataHandle> blobDataHandle) |
+ { |
+ return adoptRefWillBeNoop(new File(path, name, String(), true, size, lastModified, blobDataHandle)); |
+ } |
static PassRefPtrWillBeRawPtr<File> createWithRelativePath(const String& path, const String& relativePath); |