Index: third_party/WebKit/Source/platform/blob/BlobData.h |
diff --git a/third_party/WebKit/Source/platform/blob/BlobData.h b/third_party/WebKit/Source/platform/blob/BlobData.h |
index 4e6aa56e8e887dbd2e7bc8a3c41879400f0531fd..fe42093dfd2fa8dbd2ffd7b7192f20ba83ab456c 100644 |
--- a/third_party/WebKit/Source/platform/blob/BlobData.h |
+++ b/third_party/WebKit/Source/platform/blob/BlobData.h |
@@ -73,7 +73,7 @@ struct PLATFORM_EXPORT BlobDataItem { |
// Constructor for String type (complete string). |
explicit BlobDataItem(PassRefPtr<RawData> data) |
: type(Data), |
- data(data), |
+ data(std::move(data)), |
offset(0), |
length(toEndOfFile), |
expectedModificationTime(invalidFileTime()) {} |
@@ -102,7 +102,7 @@ struct PLATFORM_EXPORT BlobDataItem { |
long long offset, |
long long length) |
: type(Blob), |
- blobDataHandle(blobDataHandle), |
+ blobDataHandle(std::move(blobDataHandle)), |
offset(offset), |
length(length), |
expectedModificationTime(invalidFileTime()) {} |
@@ -138,7 +138,7 @@ struct PLATFORM_EXPORT BlobDataItem { |
// Constructor for String type (partial string). |
BlobDataItem(PassRefPtr<RawData> data, long long offset, long long length) |
: type(Data), |
- data(data), |
+ data(std::move(data)), |
offset(offset), |
length(length), |
expectedModificationTime(invalidFileTime()) {} |