| 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 a646561d6e7c65991d13fa7b62d2f9eeb0c4986e..535205629d7450a78776effa97595faadbeee306 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/DataConsumerTee.cpp
|
| +++ b/third_party/WebKit/Source/modules/fetch/DataConsumerTee.cpp
|
| @@ -185,7 +185,7 @@ public:
|
| }
|
| ASSERT(m_readerThread);
|
| if (!m_readerThread->isCurrentThread()) {
|
| - m_readerThread->getWebTaskRunner()->postTask(BLINK_FROM_HERE, threadSafeBind(&DestinationContext::notify, this));
|
| + m_readerThread->getWebTaskRunner()->postTask(BLINK_FROM_HERE, threadSafeBind(&DestinationContext::notify, wrapPassRefPtr(this)));
|
| return;
|
| }
|
| }
|
| @@ -272,7 +272,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()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, threadSafeBind(&DestinationContext::notify, context()));
|
| + Platform::current()->currentThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, threadSafeBind(&DestinationContext::notify, wrapPassRefPtr(context())));
|
| }
|
| }
|
| ~DestinationReader() override
|
|
|