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

Unified Diff: media/filters/audio_renderer_base.cc

Issue 155230: Made MediaFilter::host_ and MediaFilter::message_loop_ private. (Closed)
Patch Set: Merge with ToT Created 11 years, 5 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/base/pipeline_impl.cc ('k') | media/filters/decoder_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/audio_renderer_base.cc
diff --git a/media/filters/audio_renderer_base.cc b/media/filters/audio_renderer_base.cc
index 43f79ca86ea0cad62b6cb7e273602f5d6c3526b4..ba52fe0843db4c820fb34567c2d8120370b50650 100644
--- a/media/filters/audio_renderer_base.cc
+++ b/media/filters/audio_renderer_base.cc
@@ -89,10 +89,10 @@ void AudioRendererBase::OnReadComplete(Buffer* buffer_in) {
if (queue_.empty()) {
// If we say we have initialized but buffer queue is empty, raise an
// error.
- host_->Error(PIPELINE_ERROR_NO_DATA);
+ host()->Error(PIPELINE_ERROR_NO_DATA);
} else {
initialized_ = true;
- host_->InitializationComplete();
+ host()->InitializationComplete();
}
}
}
@@ -210,7 +210,7 @@ size_t AudioRendererBase::FillBuffer(uint8* dest,
// finer time update events.
if (playback_delay < last_fill_buffer_time)
last_fill_buffer_time -= playback_delay;
- host_->SetTime(last_fill_buffer_time);
+ host()->SetTime(last_fill_buffer_time);
}
return dest_written;
« no previous file with comments | « media/base/pipeline_impl.cc ('k') | media/filters/decoder_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698