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

Unified Diff: services/ui/gpu/gpu_service_impl.cc

Issue 2247183005: services/ui: Get rid of IPC::ChannelHandle type converter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix review issues Created 4 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
« no previous file with comments | « services/ui/common/gpu_type_converters_unittest.cc ('k') | services/ui/gpu/gpu_service_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gpu/gpu_service_impl.cc
diff --git a/services/ui/gpu/gpu_service_impl.cc b/services/ui/gpu/gpu_service_impl.cc
index f0e6013217e9cfce2a69e4126ecdd3117dd32999..2d439b0b6252c19093edc2416586df948707f365 100644
--- a/services/ui/gpu/gpu_service_impl.cc
+++ b/services/ui/gpu/gpu_service_impl.cc
@@ -15,10 +15,9 @@ namespace {
void EstablishGpuChannelDone(
const mojom::GpuService::EstablishGpuChannelCallback& callback,
int32_t client_id,
- const IPC::ChannelHandle& channel_handle) {
+ mojo::ScopedMessagePipeHandle handle) {
// TODO(penghuang): Send the real GPUInfo to the client.
- callback.Run(client_id, mojom::ChannelHandle::From(channel_handle),
- gpu::GPUInfo());
+ callback.Run(client_id, std::move(handle), gpu::GPUInfo());
}
}
« no previous file with comments | « services/ui/common/gpu_type_converters_unittest.cc ('k') | services/ui/gpu/gpu_service_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698