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

Unified Diff: media/base/filter_host_impl.cc

Issue 155711: Renamed FilterHost::Error() and Pipeline::GetTime() to more appropriate names. (Closed)
Patch Set: 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/filter_host_impl.h ('k') | media/base/mock_filter_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/filter_host_impl.cc
diff --git a/media/base/filter_host_impl.cc b/media/base/filter_host_impl.cc
index 4192afd2c7f1d13ace424f3a9d3d52d82fc1ec71..93e3ca78af1912d321e2ad8c90b5110366a0ff76 100644
--- a/media/base/filter_host_impl.cc
+++ b/media/base/filter_host_impl.cc
@@ -6,12 +6,12 @@
namespace media {
-void FilterHostImpl::Error(PipelineError error) {
- pipeline_internal_->Error(error);
+void FilterHostImpl::SetError(PipelineError error) {
+ pipeline_internal_->SetError(error);
}
base::TimeDelta FilterHostImpl::GetTime() const {
- return pipeline()->GetTime();
+ return pipeline()->GetCurrentTime();
}
void FilterHostImpl::SetTime(base::TimeDelta time) {
« no previous file with comments | « media/base/filter_host_impl.h ('k') | media/base/mock_filter_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698