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

Unified Diff: content/child/mojo/mojo_application.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: content/child/mojo/mojo_application.cc
diff --git a/content/child/mojo/mojo_application.cc b/content/child/mojo/mojo_application.cc
index 1d61c0b15b2faa6605eabaf8ef5ff2af4cf85e91..5cec176e5c993a80823735af841d2ee1e10e0b28 100644
--- a/content/child/mojo/mojo_application.cc
+++ b/content/child/mojo/mojo_application.cc
@@ -38,8 +38,8 @@ void MojoApplication::OnActivate(
ChildProcess::current()->io_message_loop_proxy());
DCHECK(message_pipe.is_valid());
- shell_.reset(
- mojo::ScopedShellHandle::From(message_pipe.Pass()), shell_client_);
+ shell_.Bind(message_pipe.Pass());
+ shell_->SetClient(shell_client_);
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698