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 64f687e30a18af322f9a330676ff91e92a71352c..9222b2dbc64fe582bde2c5c054734316d7eecbf2 100644 |
--- a/third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp |
@@ -75,7 +75,7 @@ class SimpleFormDataBytesConsumer : public BytesConsumer { |
return nullptr; |
state_ = PublicState::kClosed; |
- return form_data_.Release(); |
+ return std::move(form_data_); |
} |
void SetClient(BytesConsumer::Client* client) override { DCHECK(client); } |
void ClearClient() override {} |
@@ -183,7 +183,7 @@ class ComplexFormDataBytesConsumer final : public BytesConsumer { |
if (!form_data_) |
return nullptr; |
blob_bytes_consumer_->Cancel(); |
- return form_data_.Release(); |
+ return std::move(form_data_); |
} |
void SetClient(BytesConsumer::Client* client) override { |
blob_bytes_consumer_->SetClient(client); |