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

Unified Diff: media/mojo/clients/mojo_renderer.cc

Issue 2698063002: Mojo C++ bindings: remove usage of AssociatedGroup from media/ (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
« no previous file with comments | « media/mojo/clients/mojo_audio_decoder.cc ('k') | media/mojo/clients/mojo_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_renderer.cc
diff --git a/media/mojo/clients/mojo_renderer.cc b/media/mojo/clients/mojo_renderer.cc
index a8b1fd35bbcbcf853ed1d0f26990c8e3bef149aa..cc149fa08919d8c6464affe36907b3e15f26e407 100644
--- a/media/mojo/clients/mojo_renderer.cc
+++ b/media/mojo/clients/mojo_renderer.cc
@@ -108,7 +108,7 @@ void MojoRenderer::InitializeRendererFromStreams(
BindRemoteRendererIfNeeded();
mojom::RendererClientAssociatedPtrInfo client_ptr_info;
- client_binding_.Bind(&client_ptr_info, remote_renderer_.associated_group());
+ client_binding_.Bind(&client_ptr_info);
// Using base::Unretained(this) is safe because |this| owns
// |remote_renderer_|, and the callback won't be dispatched if
@@ -126,7 +126,7 @@ void MojoRenderer::InitializeRendererFromUrl(media::RendererClient* client) {
BindRemoteRendererIfNeeded();
mojom::RendererClientAssociatedPtrInfo client_ptr_info;
- client_binding_.Bind(&client_ptr_info, remote_renderer_.associated_group());
+ client_binding_.Bind(&client_ptr_info);
MediaUrlParams url_params = media_resource_->GetMediaUrlParams();
« no previous file with comments | « media/mojo/clients/mojo_audio_decoder.cc ('k') | media/mojo/clients/mojo_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698