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

Unified Diff: media/base/demuxer.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/demuxer.h ('k') | media/base/mock_filters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/demuxer.cc
diff --git a/media/base/demuxer.cc b/media/base/demuxer.cc
index f3aa3407085868b974fded8d6fecda27f514444f..6cd4e29a48178e3724ee691203bc9523a87bb2ed 100644
--- a/media/base/demuxer.cc
+++ b/media/base/demuxer.cc
@@ -10,16 +10,10 @@ namespace media {
DemuxerHost::~DemuxerHost() {}
-Demuxer::Demuxer() : host_(NULL) {}
+Demuxer::Demuxer() {}
Demuxer::~Demuxer() {}
-void Demuxer::set_host(DemuxerHost* host) {
- DCHECK(host);
- DCHECK(!host_);
- host_ = host;
-}
-
void Demuxer::SetPlaybackRate(float playback_rate) {}
void Demuxer::Seek(base::TimeDelta time, const PipelineStatusCB& status_cb) {
« no previous file with comments | « media/base/demuxer.h ('k') | media/base/mock_filters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698