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

Unified Diff: mojo/public/cpp/shell/lib/service.cc

Issue 265793015: Mojo: Replace RemotePtr with InterfacePtr and InterfaceImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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
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() {}

Powered by Google App Engine
This is Rietveld 408576698