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

Unified Diff: gpu/ipc/service/gpu_channel_test_common.cc

Issue 2448973003: Remove use of ChannelHandle::name from gpu/ipc/service. (Closed)
Patch Set: Created 4 years, 2 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 | « gpu/ipc/service/gpu_channel_manager_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/gpu_channel_test_common.cc
diff --git a/gpu/ipc/service/gpu_channel_test_common.cc b/gpu/ipc/service/gpu_channel_test_common.cc
index e5713dd1270f27abcbd24331a9f24421c8d064c5..69e6fa398ce0881ca362d1fa638428f342081549 100644
--- a/gpu/ipc/service/gpu_channel_test_common.cc
+++ b/gpu/ipc/service/gpu_channel_test_common.cc
@@ -117,9 +117,9 @@ base::ProcessId TestGpuChannel::GetClientPID() const {
}
IPC::ChannelHandle TestGpuChannel::Init(base::WaitableEvent* shutdown_event) {
- channel_id_ = "ChannelMojo-gpu";
filter_->OnFilterAdded(&sink_);
- return IPC::ChannelHandle(channel_id());
+ mojo::MessagePipe pipe;
+ return pipe.handle0.release();
}
bool TestGpuChannel::Send(IPC::Message* msg) {
« no previous file with comments | « gpu/ipc/service/gpu_channel_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698