Index: media/mojo/clients/mojo_audio_decoder.cc |
diff --git a/media/mojo/clients/mojo_audio_decoder.cc b/media/mojo/clients/mojo_audio_decoder.cc |
index 0d211836f24702e45eb66fc8fc905336298649e1..df2b12af483cdc103653537b5ce4a70b44e4d5ea 100644 |
--- a/media/mojo/clients/mojo_audio_decoder.cc |
+++ b/media/mojo/clients/mojo_audio_decoder.cc |
@@ -175,12 +175,12 @@ void MojoAudioDecoder::OnInitialized(bool success, |
base::ResetAndReturn(&init_cb_).Run(success); |
} |
-void MojoAudioDecoder::OnDecodeStatus(mojom::DecodeStatus status) { |
+void MojoAudioDecoder::OnDecodeStatus(DecodeStatus status) { |
DVLOG(1) << __FUNCTION__ << ": status:" << status; |
DCHECK(task_runner_->BelongsToCurrentThread()); |
DCHECK(!decode_cb_.is_null()); |
- base::ResetAndReturn(&decode_cb_).Run(static_cast<DecodeStatus>(status)); |
+ base::ResetAndReturn(&decode_cb_).Run(status); |
} |
void MojoAudioDecoder::OnResetDone() { |