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

Unified Diff: content/child/blink_platform_impl.cc

Issue 1675633002: WebTaskRunnerImpl to take a TaskQueue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 10 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: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index c08802df9aab6340a1c7cf4c1466ea137c763681..69e535d23bd5fbd742b7a6990169982857629dfe 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -439,8 +439,7 @@ WebURLLoader* BlinkPlatformImpl::createURLLoader() {
// data URLs to bypass the ResourceDispatcher.
return new WebURLLoaderImpl(
child_thread ? child_thread->resource_dispatcher() : NULL,
- make_scoped_ptr(new scheduler::WebTaskRunnerImpl(
- base::ThreadTaskRunnerHandle::Get())));
+ make_scoped_ptr(currentThread()->taskRunner()->clone()));
}
blink::WebSocketHandle* BlinkPlatformImpl::createWebSocketHandle() {
« no previous file with comments | « components/scheduler/renderer/renderer_scheduler_impl.cc ('k') | content/child/web_url_loader_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698