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

Unified Diff: chrome/browser/ui/ash/media_client.cc

Issue 2696233002: Mojo C++ bindings: remove some usage of AssociatedGroup from user code. (Closed)
Patch Set: . Created 3 years, 10 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: chrome/browser/ui/ash/media_client.cc
diff --git a/chrome/browser/ui/ash/media_client.cc b/chrome/browser/ui/ash/media_client.cc
index 98786c9940ccab1b3e81657b9e206d4b37ab7df6..99ed587abdd093b8aa76f5b6698bea361f9b480b 100644
--- a/chrome/browser/ui/ash/media_client.cc
+++ b/chrome/browser/ui/ash/media_client.cc
@@ -136,7 +136,7 @@ MediaClient::MediaClient() : binding_(this), weak_ptr_factory_(this) {
// Register this object as the client interface implementation.
ash::mojom::MediaClientAssociatedPtrInfo ptr_info;
- binding_.Bind(&ptr_info, media_controller_.associated_group());
+ binding_.Bind(&ptr_info);
media_controller_->SetClient(std::move(ptr_info));
}
« no previous file with comments | « chrome/browser/ui/ash/launcher/chrome_launcher_controller_mus.cc ('k') | mojo/public/cpp/bindings/associated_binding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698