| Index: third_party/WebKit/Source/core/fileapi/File.h
|
| diff --git a/third_party/WebKit/Source/core/fileapi/File.h b/third_party/WebKit/Source/core/fileapi/File.h
|
| index f9da21d5bf127f7a462eae1e7260737cd9e182b6..7589b583411ad54c712fd48a554fb6e52e47b724 100644
|
| --- a/third_party/WebKit/Source/core/fileapi/File.h
|
| +++ b/third_party/WebKit/Source/core/fileapi/File.h
|
| @@ -65,17 +65,17 @@ public:
|
|
|
| static File* create(const String& name, double modificationTime, PassRefPtr<BlobDataHandle> blobDataHandle)
|
| {
|
| - return new File(name, modificationTime, blobDataHandle);
|
| + return new File(name, modificationTime, std::move(blobDataHandle));
|
| }
|
|
|
| // For deserialization.
|
| static File* createFromSerialization(const String& path, const String& name, const String& relativePath, UserVisibility userVisibility, bool hasSnapshotData, uint64_t size, double lastModified, PassRefPtr<BlobDataHandle> blobDataHandle)
|
| {
|
| - return new File(path, name, relativePath, userVisibility, hasSnapshotData, size, lastModified, blobDataHandle);
|
| + return new File(path, name, relativePath, userVisibility, hasSnapshotData, size, lastModified, std::move(blobDataHandle));
|
| }
|
| static File* createFromIndexedSerialization(const String& path, const String& name, uint64_t size, double lastModified, PassRefPtr<BlobDataHandle> blobDataHandle)
|
| {
|
| - return new File(path, name, String(), IsNotUserVisible, true, size, lastModified, blobDataHandle);
|
| + return new File(path, name, String(), IsNotUserVisible, true, size, lastModified, std::move(blobDataHandle));
|
| }
|
|
|
| static File* createWithRelativePath(const String& path, const String& relativePath);
|
|
|