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

Unified Diff: media/base/pipeline.cc

Issue 9968117: Move Demuxer::set_host() to Initialize(). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: fixes Created 8 years, 9 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/mock_filters.cc ('k') | media/base/pipeline_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/pipeline.cc
diff --git a/media/base/pipeline.cc b/media/base/pipeline.cc
index 28cd1e044385c58323de0946736f85b373fad28a..dd0822ebca0d46c20dcabaa9bcabeeb7efba04fc 100644
--- a/media/base/pipeline.cc
+++ b/media/base/pipeline.cc
@@ -1091,8 +1091,7 @@ void Pipeline::InitializeDemuxer() {
return;
}
- demuxer_->set_host(this);
- demuxer_->Initialize(base::Bind(&Pipeline::OnDemuxerInitialized, this));
+ demuxer_->Initialize(this, base::Bind(&Pipeline::OnDemuxerInitialized, this));
}
void Pipeline::OnDemuxerInitialized(PipelineStatus status) {
« no previous file with comments | « media/base/mock_filters.cc ('k') | media/base/pipeline_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698