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

Unified Diff: mojo/gles2/command_buffer_client_impl.cc

Issue 380413003: Mojo: Use InterfaceFactory<Interface> for service registration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review feedback Created 6 years, 5 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
Index: mojo/gles2/command_buffer_client_impl.cc
diff --git a/mojo/gles2/command_buffer_client_impl.cc b/mojo/gles2/command_buffer_client_impl.cc
index 1a03468e4aaa7b9c9dcab506b99836432c00e464..fc7e85194a12c1b67a59e238a7bc1e33eebdfbc8 100644
--- a/mojo/gles2/command_buffer_client_impl.cc
+++ b/mojo/gles2/command_buffer_client_impl.cc
@@ -107,7 +107,7 @@ bool CommandBufferClientImpl::Initialize() {
CommandBufferSyncClientPtr sync_client;
sync_client_impl_.reset(
- BindToProxy(new SyncClientImpl(), &sync_client, async_waiter_));
+ WeakBindToProxy(new SyncClientImpl(), &sync_client, async_waiter_));
command_buffer_->Initialize(sync_client.Pass(), duped.Pass());

Powered by Google App Engine
This is Rietveld 408576698