Index: media/base/demuxer.h |
diff --git a/media/base/demuxer.h b/media/base/demuxer.h |
index 48d0e6a2b31e6c3b9b395aa920ca9f1f98f8f64b..3fdc37bd44420c1162fb7ed4dc10814695d8b3bf 100644 |
--- a/media/base/demuxer.h |
+++ b/media/base/demuxer.h |
@@ -16,8 +16,6 @@ namespace media { |
class MEDIA_EXPORT DemuxerHost : public DataSourceHost { |
public: |
- virtual ~DemuxerHost(); |
- |
// Sets the duration of the media in microseconds. |
// Duration may be kInfiniteDuration() if the duration is not known. |
virtual void SetDuration(base::TimeDelta duration) = 0; |
@@ -25,6 +23,9 @@ class MEDIA_EXPORT DemuxerHost : public DataSourceHost { |
// Stops execution of the pipeline due to a fatal error. Do not call this |
// method with PIPELINE_OK. |
virtual void OnDemuxerError(PipelineStatus error) = 0; |
+ |
+ protected: |
+ virtual ~DemuxerHost(); |
}; |
class MEDIA_EXPORT Demuxer : public base::RefCountedThreadSafe<Demuxer> { |