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

Unified Diff: mojo/examples/hello_world_service/hello_world_service_impl.cc

Issue 109103003: Mojo: abstract interface implementation from generated Stub classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/examples/hello_world_service/hello_world_service_impl.cc
diff --git a/mojo/examples/hello_world_service/hello_world_service_impl.cc b/mojo/examples/hello_world_service/hello_world_service_impl.cc
index 3bca0fd19ef85ad27649dd637a7cb74923d86876..59c4b1bdde37ff72042912cecb130249d36493e1 100644
--- a/mojo/examples/hello_world_service/hello_world_service_impl.cc
+++ b/mojo/examples/hello_world_service/hello_world_service_impl.cc
@@ -12,8 +12,7 @@ namespace mojo {
namespace examples {
HelloWorldServiceImpl::HelloWorldServiceImpl(ScopedMessagePipeHandle pipe)
- : client_(pipe.Pass()) {
- client_.SetPeer(this);
+ : client_(pipe.Pass(), this) {
}
void HelloWorldServiceImpl::Greeting(const String& greeting) {

Powered by Google App Engine
This is Rietveld 408576698