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

Unified Diff: third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.cpp

Issue 2177243002: Use per-frame TaskRunner instead of thread's default in DataConsumerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@data_consumer_handle_unique_ptr
Patch Set: update Created 4 years, 5 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
Index: third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.cpp b/third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.cpp
index 881bd8ec12eade90d4e80fcb53a0fa82974cb559..e8d8be165a2d36bc14496408546dcea83b84bf43 100644
--- a/third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.cpp
+++ b/third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.cpp
@@ -4,11 +4,13 @@
#include "modules/fetch/FetchDataConsumerHandle.h"
+#include "public/platform/WebTaskRunner.h"
+
namespace blink {
-std::unique_ptr<WebDataConsumerHandle::Reader> FetchDataConsumerHandle::obtainReader(Client* client)
+std::unique_ptr<WebDataConsumerHandle::Reader> FetchDataConsumerHandle::obtainReader(Client* client, std::unique_ptr<WebTaskRunner> readerTaskRunner)
{
- return obtainFetchDataReader(client);
+ return obtainFetchDataReader(client, std::move(readerTaskRunner));
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698