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

Unified Diff: media/mojo/clients/mojo_renderer.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/clients/mojo_renderer.h ('k') | media/mojo/clients/mojo_renderer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_renderer.cc
diff --git a/media/mojo/clients/mojo_renderer.cc b/media/mojo/clients/mojo_renderer.cc
index ca83bdfbe40dcca3d2551e90ebd77256063d1d99..f22bfd2b8cc07ea6c3f71a74da2c6e57ce87ab8b 100644
--- a/media/mojo/clients/mojo_renderer.cc
+++ b/media/mojo/clients/mojo_renderer.cc
@@ -262,10 +262,10 @@ void MojoRenderer::OnTimeUpdate(base::TimeDelta time,
media_time_interpolator_.SetBounds(time, max_time, capture_time);
}
-void MojoRenderer::OnBufferingStateChange(mojom::BufferingState state) {
+void MojoRenderer::OnBufferingStateChange(BufferingState state) {
DVLOG(2) << __FUNCTION__;
DCHECK(task_runner_->BelongsToCurrentThread());
- client_->OnBufferingStateChange(static_cast<media::BufferingState>(state));
+ client_->OnBufferingStateChange(state);
}
void MojoRenderer::OnEnded() {
« no previous file with comments | « media/mojo/clients/mojo_renderer.h ('k') | media/mojo/clients/mojo_renderer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698