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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1292263003: ipc: Use a global for the process's attachment broker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ipc_message2
Patch Set: Comments from avi. 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 | « content/browser/plugin_data_remover_impl.cc ('k') | content/child/child_thread_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 7ac8881cc8f94edfdf8cdec599b7a285337457a1..2d9a2b08407db1fd81cf778883d076591c9d2a08 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -737,14 +737,12 @@ scoped_ptr<IPC::ChannelProxy> RenderProcessHostImpl::CreateChannelProxy(
return IPC::ChannelProxy::Create(
IPC::ChannelMojo::CreateServerFactory(
- mojo_task_runner, channel_id,
- content::ChildProcessHost::GetAttachmentBroker()),
+ mojo_task_runner, channel_id),
this, runner.get());
}
return IPC::ChannelProxy::Create(
- channel_id, IPC::Channel::MODE_SERVER, this, runner.get(),
- content::ChildProcessHost::GetAttachmentBroker());
+ channel_id, IPC::Channel::MODE_SERVER, this, runner.get());
}
void RenderProcessHostImpl::CreateMessageFilters() {
« no previous file with comments | « content/browser/plugin_data_remover_impl.cc ('k') | content/child/child_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698