Index: media/mojo/clients/mojo_audio_decoder.h |
diff --git a/media/mojo/clients/mojo_audio_decoder.h b/media/mojo/clients/mojo_audio_decoder.h |
index 546b8e7fcbf91a0263508eef48bd731d0ea3091f..14255aa88a0108e12ba4e71766211beaa08464cb 100644 |
--- a/media/mojo/clients/mojo_audio_decoder.h |
+++ b/media/mojo/clients/mojo_audio_decoder.h |
@@ -12,6 +12,7 @@ |
#include "media/base/audio_decoder.h" |
#include "media/mojo/interfaces/audio_decoder.mojom.h" |
#include "media/mojo/interfaces/media_types.mojom.h" |
+#include "mojo/public/cpp/bindings/associated_binding.h" |
#include "mojo/public/cpp/bindings/binding.h" |
namespace base { |
@@ -69,7 +70,7 @@ class MojoAudioDecoder : public AudioDecoder, public mojom::AudioDecoderClient { |
std::unique_ptr<MojoDecoderBufferWriter> mojo_decoder_buffer_writer_; |
// Binding for AudioDecoderClient, bound to the |task_runner_|. |
- mojo::Binding<AudioDecoderClient> binding_; |
+ mojo::AssociatedBinding<AudioDecoderClient> client_binding_; |
// We call the following callbacks to pass the information to the pipeline. |
// |output_cb_| is permanent while other three are called only once, |