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

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

Issue 2358413002: media: Use associated interface for mojo RendererClient (Closed)
Patch Set: more test update Created 4 years, 3 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 | « no previous file | media/mojo/clients/mojo_renderer.cc » ('j') | media/mojo/clients/mojo_renderer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_renderer.h
diff --git a/media/mojo/clients/mojo_renderer.h b/media/mojo/clients/mojo_renderer.h
index e4a351e74602d9965aabe20039b73241d76bb824..4a6cd72080373e8d9182a8fe3c3e38736d1eee38 100644
--- a/media/mojo/clients/mojo_renderer.h
+++ b/media/mojo/clients/mojo_renderer.h
@@ -13,7 +13,7 @@
#include "media/base/renderer.h"
#include "media/base/time_delta_interpolator.h"
#include "media/mojo/interfaces/renderer.mojom.h"
-#include "mojo/public/cpp/bindings/binding.h"
+#include "mojo/public/cpp/bindings/associated_binding.h"
namespace base {
class SingleThreadTaskRunner;
@@ -136,7 +136,7 @@ class MojoRenderer : public Renderer, public mojom::RendererClient {
mojom::RendererPtr remote_renderer_;
// Binding for RendererClient, bound to the |task_runner_|.
- mojo::Binding<RendererClient> binding_;
+ mojo::AssociatedBinding<RendererClient> client_binding_;
bool encountered_error_ = false;
« no previous file with comments | « no previous file | media/mojo/clients/mojo_renderer.cc » ('j') | media/mojo/clients/mojo_renderer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698