Index: media/mojo/clients/mojo_video_decoder.cc |
diff --git a/media/mojo/clients/mojo_video_decoder.cc b/media/mojo/clients/mojo_video_decoder.cc |
index 3eb07a770dd586489594adce62c7f030dd565b04..ee293e6471ae67dcc86671e9a25b07f4e21dfe30 100644 |
--- a/media/mojo/clients/mojo_video_decoder.cc |
+++ b/media/mojo/clients/mojo_video_decoder.cc |
@@ -102,10 +102,10 @@ void MojoVideoDecoder::OnVideoFrameDecoded(mojom::VideoFramePtr frame) { |
output_cb_.Run(frame.To<scoped_refptr<VideoFrame>>()); |
} |
-void MojoVideoDecoder::OnDecodeDone(mojom::DecodeStatus status) { |
+void MojoVideoDecoder::OnDecodeDone(DecodeStatus status) { |
DVLOG(1) << __FUNCTION__; |
DCHECK(task_runner_->BelongsToCurrentThread()); |
- base::ResetAndReturn(&decode_cb_).Run(static_cast<DecodeStatus>(status)); |
+ base::ResetAndReturn(&decode_cb_).Run(status); |
} |
void MojoVideoDecoder::Reset(const base::Closure& reset_cb) { |