| Index: third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp
|
| diff --git a/third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp b/third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp
|
| index ca69f165054155930f38448de3f1a78276f13cf0..d6eb0cfe061d93cbac383f4cb25668ca3a512fc4 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp
|
| +++ b/third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp
|
| @@ -54,7 +54,7 @@ public:
|
| public:
|
| static v8::Local<v8::Function> createFunction(ScriptState* scriptState, PassRefPtr<ReadingContext> context)
|
| {
|
| - return (new OnFulfilled(scriptState, context))->bindToV8Function();
|
| + return (new OnFulfilled(scriptState, std::move(context)))->bindToV8Function();
|
| }
|
|
|
| ScriptValue call(ScriptValue v) override
|
| @@ -94,7 +94,7 @@ public:
|
| public:
|
| static v8::Local<v8::Function> createFunction(ScriptState* scriptState, PassRefPtr<ReadingContext> context)
|
| {
|
| - return (new OnRejected(scriptState, context))->bindToV8Function();
|
| + return (new OnRejected(scriptState, std::move(context)))->bindToV8Function();
|
| }
|
|
|
| ScriptValue call(ScriptValue v) override
|
|
|