Index: third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp b/third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp |
index 0e36d2d7df54c02992f8a87ea94caded250b6b30..deda27d3091cb5901ec9939a2912379d518e1437 100644 |
--- a/third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp |
@@ -29,7 +29,7 @@ bool isSimple(const EncodedFormData* formData) { |
class SimpleFormDataBytesConsumer : public BytesConsumer { |
public: |
explicit SimpleFormDataBytesConsumer(PassRefPtr<EncodedFormData> formData) |
- : m_formData(formData) {} |
+ : m_formData(std::move(formData)) {} |
// BytesConsumer implementation |
Result beginRead(const char** buffer, size_t* available) override { |
@@ -105,7 +105,7 @@ class ComplexFormDataBytesConsumer final : public BytesConsumer { |
ComplexFormDataBytesConsumer(ExecutionContext* executionContext, |
PassRefPtr<EncodedFormData> formData, |
BytesConsumer* consumer) |
- : m_formData(formData) { |
+ : m_formData(std::move(formData)) { |
if (consumer) { |
// For testing. |
m_blobBytesConsumer = consumer; |