Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2216)

Unified Diff: Source/modules/fetch/DataConsumerHandleUtil.cpp

Issue 1303153005: Introduce WebTaskRunner Patch 3/5 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add missing #include Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/fetch/DataConsumerHandleTestUtil.cpp ('k') | Source/modules/fetch/DataConsumerTee.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/modules/fetch/DataConsumerHandleTestUtil.cpp ('k') | Source/modules/fetch/DataConsumerTee.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698