| Index: third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.cpp
|
| diff --git a/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.cpp b/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.cpp
|
| index 9b6ef56ae16d060402b55af0cf9442047afa077f..d1e39addfbb2ae28c1f4903ae32e58aa9448089e 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.cpp
|
| +++ b/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.cpp
|
| @@ -250,7 +250,7 @@ void DataConsumerHandleTestUtil::HandleReader::didGetReadable()
|
| }
|
| OwnPtr<HandleReadResult> result = adoptPtr(new HandleReadResult(r, m_data));
|
| m_data.clear();
|
| - Platform::current()->currentThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, bind(&HandleReader::runOnFinishedReading, this, passed(result.release())));
|
| + Platform::current()->currentThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, bind(&HandleReader::runOnFinishedReading, unretained(this), passed(result.release())));
|
| m_reader = nullptr;
|
| }
|
|
|
| @@ -284,7 +284,7 @@ void DataConsumerHandleTestUtil::HandleTwoPhaseReader::didGetReadable()
|
| }
|
| OwnPtr<HandleReadResult> result = adoptPtr(new HandleReadResult(r, m_data));
|
| m_data.clear();
|
| - Platform::current()->currentThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, bind(&HandleTwoPhaseReader::runOnFinishedReading, this, passed(result.release())));
|
| + Platform::current()->currentThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, bind(&HandleTwoPhaseReader::runOnFinishedReading, unretained(this), passed(result.release())));
|
| m_reader = nullptr;
|
| }
|
|
|
|
|