| Index: third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.h
|
| diff --git a/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.h b/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.h
|
| index 3fd5bb3a0dc384fd114b4b449e653e27821c4f61..4fa3532a3f9969e27203b61e0d09e1e720efed1d 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.h
|
| +++ b/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.h
|
| @@ -187,7 +187,7 @@ class DataConsumerHandleTestUtil {
|
|
|
| public:
|
| ReaderImpl(const String& name, PassRefPtr<Context> context)
|
| - : name_(name.IsolatedCopy()), context_(context) {
|
| + : name_(name.IsolatedCopy()), context_(std::move(context)) {
|
| context_->RecordAttach(name_.IsolatedCopy());
|
| }
|
| ~ReaderImpl() override { context_->RecordDetach(name_.IsolatedCopy()); }
|
| @@ -218,7 +218,7 @@ class DataConsumerHandleTestUtil {
|
|
|
| private:
|
| DataConsumerHandle(const String& name, PassRefPtr<Context> context)
|
| - : name_(name.IsolatedCopy()), context_(context) {}
|
| + : name_(name.IsolatedCopy()), context_(std::move(context)) {}
|
|
|
| std::unique_ptr<Reader> ObtainReader(Client*) {
|
| return WTF::MakeUnique<ReaderImpl>(name_, context_);
|
|
|