Index: mojo/public/cpp/shell/lib/service_connector.cc |
diff --git a/mojo/public/cpp/shell/lib/service_connector.cc b/mojo/public/cpp/shell/lib/service_connector.cc |
index 18f34b6d76bd7e680eda149510b37071db53dda8..bdd1f3f42d1edaa0a053641c00fa943e91662494 100644 |
--- a/mojo/public/cpp/shell/lib/service_connector.cc |
+++ b/mojo/public/cpp/shell/lib/service_connector.cc |
@@ -7,9 +7,9 @@ |
namespace mojo { |
namespace internal { |
-ServiceConnectorBase::Owner::Owner(ScopedMessagePipeHandle shell_handle) |
- : shell_(MakeProxy<Shell>(shell_handle.Pass())) { |
- shell_->SetClient(this); |
+ServiceConnectorBase::Owner::Owner(ScopedMessagePipeHandle shell_handle) { |
+ shell_.Bind(shell_handle.Pass()); |
+ shell_.set_client(this); |
} |
ServiceConnectorBase::Owner::~Owner() {} |