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

Unified Diff: media/filters/gpu_video_decoder.h

Issue 14217008: Remove reference counting from media::DemuxerStream and friends. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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/filters/gpu_video_decoder.h
diff --git a/media/filters/gpu_video_decoder.h b/media/filters/gpu_video_decoder.h
index c2defb3aa4fd1eff11abf0196751cd7d0bf64e4f..ab0dddbe337d77c107f70deb8b94f9898424fe59 100644
--- a/media/filters/gpu_video_decoder.h
+++ b/media/filters/gpu_video_decoder.h
@@ -78,7 +78,7 @@ class MEDIA_EXPORT GpuVideoDecoder
const scoped_refptr<Factories>& factories);
// VideoDecoder implementation.
- virtual void Initialize(const scoped_refptr<DemuxerStream>& stream,
+ virtual void Initialize(DemuxerStream* stream,
const PipelineStatusCB& status_cb,
const StatisticsCB& statistics_cb) OVERRIDE;
virtual void Read(const ReadCB& read_cb) OVERRIDE;
@@ -165,7 +165,7 @@ class MEDIA_EXPORT GpuVideoDecoder
StatisticsCB statistics_cb_;
// Pointer to the demuxer stream that will feed us compressed buffers.
- scoped_refptr<DemuxerStream> demuxer_stream_;
+ DemuxerStream* demuxer_stream_;
// MessageLoop on which to fire callbacks and trampoline calls to this class
// if they arrive on other loops.

Powered by Google App Engine
This is Rietveld 408576698