| 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 0d148f890ec7c37739473385c58eef07b4939d49..11dc76e78763d8a14c6760f0d54497937eb4237c 100644
|
| --- a/media/mojo/clients/mojo_audio_decoder.h
|
| +++ b/media/mojo/clients/mojo_audio_decoder.h
|
| @@ -45,6 +45,8 @@ class MojoAudioDecoder : public AudioDecoder, public mojom::AudioDecoderClient {
|
| void OnBufferDecoded(mojom::AudioBufferPtr buffer) final;
|
|
|
| private:
|
| + void BindRemoteDecoder();
|
| +
|
| // Callback for connection error on |remote_decoder_|.
|
| void OnConnectionError();
|
|
|
| @@ -80,12 +82,9 @@ class MojoAudioDecoder : public AudioDecoder, public mojom::AudioDecoderClient {
|
| DecodeCB decode_cb_;
|
| base::Closure reset_cb_;
|
|
|
| - // Flag that is set if we got connection error. Never cleared.
|
| - bool has_connection_error_;
|
| -
|
| // Flag telling whether this decoder requires bitstream conversion.
|
| // Passed from |remote_decoder_| as a result of its initialization.
|
| - bool needs_bitstream_conversion_;
|
| + bool needs_bitstream_conversion_ = false;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(MojoAudioDecoder);
|
| };
|
|
|