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

Unified Diff: content/common/gpu/gpu_channel_test_common.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/common/gpu/gpu_channel_test_common.h ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel_test_common.cc
diff --git a/content/common/gpu/gpu_channel_test_common.cc b/content/common/gpu/gpu_channel_test_common.cc
index d7433ff488007ee599af329d5ab5644d27e4608b..5925a5492db1da276876820ff146a48dbfc6027b 100644
--- a/content/common/gpu/gpu_channel_test_common.cc
+++ b/content/common/gpu/gpu_channel_test_common.cc
@@ -22,7 +22,6 @@ TestGpuChannelManager::TestGpuChannelManager(
task_runner,
io_task_runner,
nullptr,
- nullptr,
sync_point_manager,
gpu_memory_buffer_factory),
sink_(sink) {}
@@ -83,9 +82,7 @@ base::ProcessId TestGpuChannel::GetClientPID() const {
return base::kNullProcessId;
}
-IPC::ChannelHandle TestGpuChannel::Init(
- base::WaitableEvent* shutdown_event,
- IPC::AttachmentBroker* attachment_broker) {
+IPC::ChannelHandle TestGpuChannel::Init(base::WaitableEvent* shutdown_event) {
filter_->OnFilterAdded(sink_);
return IPC::ChannelHandle(channel_id());
}
« no previous file with comments | « content/common/gpu/gpu_channel_test_common.h ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698