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

Unified Diff: mojo/examples/compositor_app/gles2_client_impl.cc

Issue 109103003: Mojo: abstract interface implementation from generated Stub classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase + fix build Created 6 years, 11 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
« no previous file with comments | « mojo/examples/compositor_app/gles2_client_impl.h ('k') | mojo/examples/sample_app/gles2_client_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(); }
« no previous file with comments | « mojo/examples/compositor_app/gles2_client_impl.h ('k') | mojo/examples/sample_app/gles2_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698