Index: mojo/examples/sample_app/gles2_client_impl.cc |
diff --git a/mojo/examples/sample_app/gles2_client_impl.cc b/mojo/examples/sample_app/gles2_client_impl.cc |
index c03531bd3cdb97054b39b9df99468310d86e398b..3dd943d8361f27f0bd98076a31c6e27057c26d65 100644 |
--- a/mojo/examples/sample_app/gles2_client_impl.cc |
+++ b/mojo/examples/sample_app/gles2_client_impl.cc |
@@ -22,8 +22,7 @@ float CalculateDragDistance(const gfx::PointF& start, const Point& end) { |
} |
GLES2ClientImpl::GLES2ClientImpl(ScopedMessagePipeHandle pipe) |
- : service_(pipe.Pass()) { |
- service_.SetPeer(this); |
+ : service_(pipe.Pass(), this) { |
} |
GLES2ClientImpl::~GLES2ClientImpl() { |