Index: Source/modules/fetch/DataConsumerHandleUtil.cpp |
diff --git a/Source/modules/fetch/DataConsumerHandleUtil.cpp b/Source/modules/fetch/DataConsumerHandleUtil.cpp |
index e6d9e2491e8e83ddc8d756d1fea8744521947e64..60dab6a40d91617e8b76fae154815cf75a9b519b 100644 |
--- a/Source/modules/fetch/DataConsumerHandleUtil.cpp |
+++ b/Source/modules/fetch/DataConsumerHandleUtil.cpp |
@@ -140,7 +140,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()->postTask(FROM_HERE, new Task(bind(&NotifyOnReaderCreationHelper::notify, m_factory.createWeakPtr(), client))); |
+ Platform::current()->currentThread()->taskRunner()->postTask(FROM_HERE, new Task(bind(&NotifyOnReaderCreationHelper::notify, m_factory.createWeakPtr(), client))); |
} |
void NotifyOnReaderCreationHelper::notify(WebDataConsumerHandle::Client* client) |