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

Unified Diff: content/renderer/pepper/renderer_ppapi_host_impl.cc

Issue 2644583003: Use loading task queue in RendererPpapiHost
Patch Set: Rebased Created 3 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/renderer_ppapi_host_impl.cc
diff --git a/content/renderer/pepper/renderer_ppapi_host_impl.cc b/content/renderer/pepper/renderer_ppapi_host_impl.cc
index 32bf18f46d4756c202029adbe1d56ca29e360584..40b2877cabd11258bfd4a905a251f24957c1780e 100644
--- a/content/renderer/pepper/renderer_ppapi_host_impl.cc
+++ b/content/renderer/pepper/renderer_ppapi_host_impl.cc
@@ -262,7 +262,7 @@ void RendererPpapiHostImpl::CreateBrowserResourceHosts(
PepperBrowserConnection* browser_connection =
PepperBrowserConnection::Get(render_frame);
if (!browser_connection) {
- base::ThreadTaskRunnerHandle::Get()->PostTask(
+ render_frame->GetLoadingTaskRunner()->PostTask(
alex clarke (OOO till 29th) 2017/01/23 11:37:05 So in theory I think that's a reasonable change. T
FROM_HERE,
base::Bind(callback, std::vector<int>(nested_msgs.size(), 0)));
} else {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698