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

Unified Diff: content/common/gpu/gpu_channel.cc

Issue 1184523003: attachment broker wip (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor comments. Created 5 years, 6 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/common/gpu/gpu_channel.h ('k') | content/common/gpu/gpu_channel_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel.cc
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc
index 017a151de9a149fe7404fe6fa51d819984caad10..398eab76d0e5202918f6b1c4c4d42da5262c9ef8 100644
--- a/content/common/gpu/gpu_channel.cc
+++ b/content/common/gpu/gpu_channel.cc
@@ -437,13 +437,14 @@ GpuChannel::~GpuChannel() {
}
void GpuChannel::Init(base::SingleThreadTaskRunner* io_task_runner,
- base::WaitableEvent* shutdown_event) {
+ base::WaitableEvent* shutdown_event,
+ IPC::AttachmentBroker* broker) {
DCHECK(!channel_.get());
// Map renderer ID to a (single) channel to that process.
channel_ =
IPC::SyncChannel::Create(channel_id_, IPC::Channel::MODE_SERVER, this,
- io_task_runner, false, shutdown_event);
+ io_task_runner, false, shutdown_event, broker);
filter_ = new GpuChannelMessageFilter(
weak_factory_.GetWeakPtr(), gpu_channel_manager_->sync_point_manager(),
« no previous file with comments | « content/common/gpu/gpu_channel.h ('k') | content/common/gpu/gpu_channel_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698