Index: mojo/examples/compositor_app/gles2_client_impl.cc |
diff --git a/mojo/examples/compositor_app/gles2_client_impl.cc b/mojo/examples/compositor_app/gles2_client_impl.cc |
index fecb42ded9339184b5b80f7fd0688a5b99faaca8..f6849fdf297a982256bd725c5391a7d07b15ce53 100644 |
--- a/mojo/examples/compositor_app/gles2_client_impl.cc |
+++ b/mojo/examples/compositor_app/gles2_client_impl.cc |
@@ -16,8 +16,7 @@ GLES2ClientImpl::GLES2ClientImpl( |
const base::Callback<void(gfx::Size)>& context_created_callback) |
: context_created_callback_(context_created_callback), |
impl_(NULL), |
- service_(pipe.Pass()) { |
- service_.SetPeer(this); |
+ service_(pipe.Pass(), this) { |
} |
GLES2ClientImpl::~GLES2ClientImpl() { service_->Destroy(); } |