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

Unified Diff: media/base/demuxer_stream.h

Issue 14217008: Remove reference counting from media::DemuxerStream and friends. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
« 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_stream.h
diff --git a/media/base/demuxer_stream.h b/media/base/demuxer_stream.h
index 30ef1ec7e6cbda97fe2417b6de538501b21f5ec3..284bcf0f2a794c3a18bfc4e5fcb08552c223584e 100644
--- a/media/base/demuxer_stream.h
+++ b/media/base/demuxer_stream.h
@@ -16,8 +16,7 @@ class AudioDecoderConfig;
class DecoderBuffer;
class VideoDecoderConfig;
-class MEDIA_EXPORT DemuxerStream
- : public base::RefCountedThreadSafe<DemuxerStream> {
+class MEDIA_EXPORT DemuxerStream {
public:
enum Type {
UNKNOWN,
@@ -70,7 +69,7 @@ class MEDIA_EXPORT DemuxerStream
virtual void EnableBitstreamConverter() = 0;
protected:
- friend class base::RefCountedThreadSafe<DemuxerStream>;
+ // Only allow concrete implementations to get deleted.
virtual ~DemuxerStream();
};
« 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