| Index: third_party/WebKit/Source/modules/fetch/DataConsumerTee.cpp
|
| diff --git a/third_party/WebKit/Source/modules/fetch/DataConsumerTee.cpp b/third_party/WebKit/Source/modules/fetch/DataConsumerTee.cpp
|
| index 3aa54b4a285c10f5476ffc4879494febc40dc9c7..39b41f7db5582daf22545a50338d6457f1d5ca94 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/DataConsumerTee.cpp
|
| +++ b/third_party/WebKit/Source/modules/fetch/DataConsumerTee.cpp
|
| @@ -8,10 +8,10 @@
|
| #include "core/dom/ExecutionContext.h"
|
| #include "modules/fetch/DataConsumerHandleUtil.h"
|
| #include "modules/fetch/FetchBlobDataConsumerHandle.h"
|
| -#include "platform/Task.h"
|
| #include "platform/ThreadSafeFunctional.h"
|
| #include "platform/heap/Handle.h"
|
| #include "public/platform/Platform.h"
|
| +#include "public/platform/WebTaskRunner.h"
|
| #include "public/platform/WebThread.h"
|
| #include "public/platform/WebTraceLocation.h"
|
| #include "wtf/Deque.h"
|
| @@ -183,7 +183,7 @@ public:
|
| }
|
| ASSERT(m_readerThread);
|
| if (!m_readerThread->isCurrentThread()) {
|
| - m_readerThread->taskRunner()->postTask(BLINK_FROM_HERE, new Task(threadSafeBind(&DestinationContext::notify, this)));
|
| + m_readerThread->taskRunner()->postTask(BLINK_FROM_HERE, threadSafeBind(&DestinationContext::notify, this));
|
| return;
|
| }
|
| }
|
| @@ -270,7 +270,7 @@ public:
|
| // We need to use threadSafeBind here to retain the context. Note
|
| // |context()| return value is of type DestinationContext*, not
|
| // PassRefPtr<DestinationContext>.
|
| - Platform::current()->currentThread()->taskRunner()->postTask(BLINK_FROM_HERE, new Task(threadSafeBind(&DestinationContext::notify, context())));
|
| + Platform::current()->currentThread()->taskRunner()->postTask(BLINK_FROM_HERE, threadSafeBind(&DestinationContext::notify, context()));
|
| }
|
| }
|
| ~DestinationReader() override
|
|
|