Chromium Code Reviews| Index: Source/core/fileapi/File.h |
| diff --git a/Source/core/fileapi/File.h b/Source/core/fileapi/File.h |
| index 1c3bc1b7558ece32b23781cc66dcf21c0798c528..677eeb4cc47dcd6ed7a4c9186d3b84bd9c8029c7 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)); |
| } |
|
sof
2014/04/08 21:07:55
Follow the other create() methods and use the same
ericu
2014/04/08 21:40:57
Done.
|
| + static PassRefPtr<File> create(const String& path, const String& name, uint64_t size, double lastModified, PassRefPtr<BlobDataHandle> blobDataHandle) |
| + { |
| + return adoptRef(new File(path, name, String(), true, size, lastModified, blobDataHandle)); |
| + } |
| static PassRefPtrWillBeRawPtr<File> createWithRelativePath(const String& path, const String& relativePath); |