Index: third_party/WebKit/Source/modules/fetch/DataConsumerHandleUtil.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/DataConsumerHandleUtil.cpp b/third_party/WebKit/Source/modules/fetch/DataConsumerHandleUtil.cpp |
index f53b2005a2368e90f2b168cbd405684f4aff430e..f5d045dbb404c86a8c9970b9e4fd2245de4703e9 100644 |
--- a/third_party/WebKit/Source/modules/fetch/DataConsumerHandleUtil.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/DataConsumerHandleUtil.cpp |
@@ -131,7 +131,7 @@ NotifyOnReaderCreationHelper::NotifyOnReaderCreationHelper(WebDataConsumerHandle |
return; |
// Note we don't need thread safety here because this object is |
// bound to the current thread. |
- Platform::current()->currentThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, bind(&NotifyOnReaderCreationHelper::notify, m_factory.createWeakPtr(), client)); |
+ Platform::current()->currentThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, bind(&NotifyOnReaderCreationHelper::notify, m_factory.createWeakPtr(), WTF::unretained(client))); |
} |
void NotifyOnReaderCreationHelper::notify(WebDataConsumerHandle::Client* client) |