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

Unified Diff: components/copresence/copresence_client.cc

Issue 453793002: Add audible support to the copresence API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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: components/copresence/copresence_client.cc
diff --git a/components/copresence/copresence_client.cc b/components/copresence/copresence_client.cc
index 17f906b59f3516e8cddd2bd9cf328cf7c77e5477..abb90c1c07123d527001d47de07bad65a016de38 100644
--- a/components/copresence/copresence_client.cc
+++ b/components/copresence/copresence_client.cc
@@ -29,7 +29,7 @@ CopresenceClient::CopresenceClient(CopresenceClientDelegate* delegate)
rpc_handler_.reset(new RpcHandler(delegate));
// We own the RpcHandler, so it won't outlive us.
rpc_handler_->Initialize(base::Bind(&CopresenceClient::InitStepComplete,
- base::Unretained(this),
+ AsWeakPtr(),
Charlie 2014/08/08 22:24:14 Huh?
rkc 2014/08/09 06:58:54 Will go away with the rebase once you land the RPC
"Copresence device registration"));
pending_init_operations_++;

Powered by Google App Engine
This is Rietveld 408576698