diff options
Diffstat (limited to 'webkit/media/webmediasourceclient_impl.h')
-rw-r--r-- | webkit/media/webmediasourceclient_impl.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/webkit/media/webmediasourceclient_impl.h b/webkit/media/webmediasourceclient_impl.h index 1aa0f6e..3dad1dc 100644 --- a/webkit/media/webmediasourceclient_impl.h +++ b/webkit/media/webmediasourceclient_impl.h @@ -8,7 +8,6 @@ #include <string> #include <vector> -#include "base/memory/ref_counted.h" #include "media/base/media_log.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaSourceClient.h" @@ -20,9 +19,7 @@ namespace webkit_media { class WebMediaSourceClientImpl : public WebKit::WebMediaSourceClient { public: - explicit WebMediaSourceClientImpl( - const scoped_refptr<media::ChunkDemuxer>& demuxer, - media::LogCB log_cb); + WebMediaSourceClientImpl(media::ChunkDemuxer* demuxer, media::LogCB log_cb); virtual ~WebMediaSourceClientImpl(); // WebKit::WebMediaSourceClient implementation. @@ -35,7 +32,7 @@ class WebMediaSourceClientImpl : public WebKit::WebMediaSourceClient { virtual void endOfStream(EndOfStreamStatus status) OVERRIDE; private: - scoped_refptr<media::ChunkDemuxer> demuxer_; + media::ChunkDemuxer* demuxer_; // Owned by WebMediaPlayerImpl. media::LogCB log_cb_; DISALLOW_COPY_AND_ASSIGN(WebMediaSourceClientImpl); |