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

Unified Diff: media/base/demuxer.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/base/demuxer.h
diff --git a/media/base/demuxer.h b/media/base/demuxer.h
index 0a9a15b17fd30e766080e1697e1d450a96b36af0..5573cad2b94634537cd9b6fa46234e8fe78e4ee7 100644
--- a/media/base/demuxer.h
+++ b/media/base/demuxer.h
@@ -59,7 +59,7 @@ class MEDIA_EXPORT Demuxer {
virtual void OnAudioRendererDisabled();
// Returns the given stream type, or NULL if that type is not present.
- virtual scoped_refptr<DemuxerStream> GetStream(DemuxerStream::Type type) = 0;
+ virtual DemuxerStream* GetStream(DemuxerStream::Type type) = 0;
// Returns the starting time for the media file.
virtual base::TimeDelta GetStartTime() const = 0;

Powered by Google App Engine
This is Rietveld 408576698