Index: mojo/public/cpp/shell/lib/service.cc |
diff --git a/mojo/public/cpp/shell/lib/service.cc b/mojo/public/cpp/shell/lib/service.cc |
index e408481a35e34e30992f833f401b76d3bb140a7b..2f2e542f1d748b23e5859ddebc06166dc65f437a 100644 |
--- a/mojo/public/cpp/shell/lib/service.cc |
+++ b/mojo/public/cpp/shell/lib/service.cc |
@@ -7,8 +7,9 @@ |
namespace mojo { |
namespace internal { |
-ServiceConnectorBase::Owner::Owner(ScopedShellHandle shell_handle) |
- : shell_(shell_handle.Pass(), this) { |
+ServiceConnectorBase::Owner::Owner(ScopedMessagePipeHandle shell_handle) |
+ : shell_(MakeProxy<Shell>(shell_handle.Pass())) { |
+ shell_->SetClient(this); |
} |
ServiceConnectorBase::Owner::~Owner() {} |