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

Unified Diff: media/mojo/clients/mojo_audio_decoder.cc

Issue 2408063009: media: Use native DecodeStatus in media mojo interfaces (Closed)
Patch Set: comments addressed Created 4 years, 2 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 | « media/mojo/clients/mojo_audio_decoder.h ('k') | media/mojo/clients/mojo_video_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « media/mojo/clients/mojo_audio_decoder.h ('k') | media/mojo/clients/mojo_video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698