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

Unified Diff: media/mojo/services/mojo_renderer_service.cc

Issue 2386443002: media: Use native BufferingState in media mojo interfaces (Closed)
Patch Set: media: Use native media enums in media mojo interfaces 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/services/media_mojo_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_renderer_service.cc
diff --git a/media/mojo/services/mojo_renderer_service.cc b/media/mojo/services/mojo_renderer_service.cc
index bf6846834d95dbb7b056f9a2ef4153ad124f5676..50f6e56f82a4933070becdc9dd1553580e1e3632 100644
--- a/media/mojo/services/mojo_renderer_service.cc
+++ b/media/mojo/services/mojo_renderer_service.cc
@@ -165,7 +165,7 @@ void MojoRendererService::OnStatisticsUpdate(const PipelineStatistics& stats) {
void MojoRendererService::OnBufferingStateChange(BufferingState state) {
DVLOG(2) << __FUNCTION__ << "(" << state << ")";
- client_->OnBufferingStateChange(static_cast<mojom::BufferingState>(state));
+ client_->OnBufferingStateChange(state);
}
void MojoRendererService::OnWaitingForDecryptionKey() {
« no previous file with comments | « media/mojo/services/media_mojo_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698