Index: Source/modules/fetch/DataConsumerHandleUtil.cpp |
diff --git a/Source/modules/fetch/DataConsumerHandleUtil.cpp b/Source/modules/fetch/DataConsumerHandleUtil.cpp |
index e6d9e2491e8e83ddc8d756d1fea8744521947e64..38bf72d4253a9346f40de613530120682a07cc71 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()->defaultTaskRunner()->postTask(FROM_HERE, new Task(bind(&NotifyOnReaderCreationHelper::notify, m_factory.createWeakPtr(), client))); |
} |
void NotifyOnReaderCreationHelper::notify(WebDataConsumerHandle::Client* client) |