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

Unified Diff: media/base/video_decoder.h

Issue 13813016: Remove reference counting from media::Demuxer and friends. (Closed) Base URL: http://git.chromium.org/chromium/src.git@vd_scoped
Patch Set: Created 7 years, 8 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
Index: media/base/video_decoder.h
diff --git a/media/base/video_decoder.h b/media/base/video_decoder.h
index 46116456316dcccfc45fca40e48175406ff6ee33..5d20d1ac9ad083a2d5699d14ee5f770d92a5185e 100644
--- a/media/base/video_decoder.h
+++ b/media/base/video_decoder.h
@@ -34,7 +34,7 @@ class MEDIA_EXPORT VideoDecoder {
// Note:
// 1) No VideoDecoder calls should be made before |status_cb| is executed.
// 2) DemuxerStream should not be accessed after the VideoDecoder is stopped.
- virtual void Initialize(const scoped_refptr<DemuxerStream>& stream,
+ virtual void Initialize(DemuxerStream* stream,
const PipelineStatusCB& status_cb,
const StatisticsCB& statistics_cb) = 0;

Powered by Google App Engine
This is Rietveld 408576698