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

Unified Diff: components/nacl/renderer/ppb_nacl_private_impl.cc

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: components/nacl/renderer/ppb_nacl_private_impl.cc
diff --git a/components/nacl/renderer/ppb_nacl_private_impl.cc b/components/nacl/renderer/ppb_nacl_private_impl.cc
index 5c318d68b0cd793043c21fe38c60c5637be0c6f7..4daa4c722578306b04d2c0a0fce759a968f6123f 100644
--- a/components/nacl/renderer/ppb_nacl_private_impl.cc
+++ b/components/nacl/renderer/ppb_nacl_private_impl.cc
@@ -92,8 +92,8 @@ bool InitializePnaclResourceHost() {
if (!render_thread)
return false;
if (!g_pnacl_resource_host.Get().get()) {
- g_pnacl_resource_host.Get() = new PnaclTranslationResourceHost(
- render_thread->GetIOMessageLoopProxy());
+ g_pnacl_resource_host.Get() =
+ new PnaclTranslationResourceHost(render_thread->GetIOTaskRunner());
render_thread->AddFilter(g_pnacl_resource_host.Get().get());
}
return true;
@@ -530,12 +530,9 @@ void PPBNaClPrivate::LaunchSelLdr(
// Return an IPC channel which allows communicating with a PNaCl
// translator process.
*translator_channel = IPC::SyncChannel::Create(
- instance_info.channel_handle,
- IPC::Channel::MODE_CLIENT,
- new NoOpListener,
- content::RenderThread::Get()->GetIOMessageLoopProxy(),
- true,
- content::RenderThread::Get()->GetShutdownEvent());
+ instance_info.channel_handle, IPC::Channel::MODE_CLIENT,
+ new NoOpListener, content::RenderThread::Get()->GetIOTaskRunner(),
+ true, content::RenderThread::Get()->GetShutdownEvent());
} else {
// Save the channel handle for when StartPpapiProxy() is called.
NaClPluginInstance* nacl_plugin_instance =
« no previous file with comments | « components/nacl/renderer/manifest_service_channel.cc ('k') | components/nacl/renderer/trusted_plugin_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698