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

Unified Diff: content/common/gpu/gpu_channel.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: Created 5 years, 4 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/common/gpu/gpu_channel.cc
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc
index 29410cd51c0f14b60ce306e74ebf6965dc17094f..174b86bae6a7d917e7a64502c8df759c22a44331 100644
--- a/content/common/gpu/gpu_channel.cc
+++ b/content/common/gpu/gpu_channel.cc
@@ -463,16 +463,15 @@ GpuChannel::~GpuChannel() {
preempting_flag_->Reset();
}
-IPC::ChannelHandle GpuChannel::Init(base::WaitableEvent* shutdown_event,
- IPC::AttachmentBroker* attachment_broker) {
+IPC::ChannelHandle GpuChannel::Init(base::WaitableEvent* shutdown_event) {
DCHECK(shutdown_event);
DCHECK(!channel_);
IPC::ChannelHandle channel_handle(channel_id_);
- channel_ = IPC::SyncChannel::Create(channel_handle, IPC::Channel::MODE_SERVER,
- this, io_task_runner_, false,
- shutdown_event, attachment_broker);
+ channel_ =
+ IPC::SyncChannel::Create(channel_handle, IPC::Channel::MODE_SERVER, this,
+ io_task_runner_, false, shutdown_event);
#if defined(OS_POSIX)
// On POSIX, pass the renderer-side FD. Also mark it as auto-close so

Powered by Google App Engine
This is Rietveld 408576698