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

Unified Diff: chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.cc

Issue 2738853002: Connections now take a ConnectionParams instead of a pipe handle. (Closed)
Patch Set: Fix Win compile Created 3 years, 9 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 | « no previous file | chrome/test/base/mojo_test_connector.cc » ('j') | mojo/edk/embedder/connection_param.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.cc
diff --git a/chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.cc b/chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.cc
index 203765d743fba65c9bcc75a4e4298196c56c5120..a26693b07ad431601145c2f410bebea395204ffe 100644
--- a/chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.cc
+++ b/chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.cc
@@ -76,7 +76,8 @@ void GpuArcVideoServiceHost::OnBootstrapVideoAcceleratorFactory(
base::kNullProcessHandle;
mojo::edk::PendingProcessConnection process;
mojo::edk::PlatformChannelPair channel_pair;
- process.Connect(kUnusedChildProcessHandle, channel_pair.PassServerHandle());
+ process.Connect(kUnusedChildProcessHandle,
+ mojo::edk::ConnectionParam(channel_pair.PassServerHandle()));
MojoHandle wrapped_handle;
MojoResult wrap_result = mojo::edk::CreatePlatformHandleWrapper(
« no previous file with comments | « no previous file | chrome/test/base/mojo_test_connector.cc » ('j') | mojo/edk/embedder/connection_param.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698