summaryrefslogtreecommitdiffstats
path: root/mojo/services/gles2/gles2_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/services/gles2/gles2_impl.cc')
-rw-r--r--mojo/services/gles2/gles2_impl.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/mojo/services/gles2/gles2_impl.cc b/mojo/services/gles2/gles2_impl.cc
index d63fd3f..b80d3d7 100644
--- a/mojo/services/gles2/gles2_impl.cc
+++ b/mojo/services/gles2/gles2_impl.cc
@@ -13,8 +13,7 @@ namespace mojo {
namespace services {
GLES2Impl::GLES2Impl(ScopedMessagePipeHandle client)
- : client_(client.Pass()) {
- client_.SetPeer(this);
+ : client_(client.Pass(), this) {
}
GLES2Impl::~GLES2Impl() {