Commit 16a72cc5 authored by scherkus@chromium.org's avatar scherkus@chromium.org

Remove media::FilterCollection::Clear() because no one calls it.

Review URL: https://codereview.chromium.org/14195007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194675 0039d316-1c4b-4281-b951-d872f2087c98
parent f2431ad6
...@@ -42,12 +42,6 @@ scoped_ptr<VideoRenderer> FilterCollection::GetVideoRenderer() { ...@@ -42,12 +42,6 @@ scoped_ptr<VideoRenderer> FilterCollection::GetVideoRenderer() {
return video_renderer_.Pass(); return video_renderer_.Pass();
} }
void FilterCollection::Clear() {
video_decoders_.clear();
audio_renderer_.reset();
video_renderer_.reset();
}
FilterCollection::VideoDecoderList* FilterCollection::GetVideoDecoders() { FilterCollection::VideoDecoderList* FilterCollection::GetVideoDecoders() {
return &video_decoders_; return &video_decoders_;
} }
......
...@@ -39,9 +39,6 @@ class MEDIA_EXPORT FilterCollection { ...@@ -39,9 +39,6 @@ class MEDIA_EXPORT FilterCollection {
void SetVideoRenderer(scoped_ptr<VideoRenderer> video_renderer); void SetVideoRenderer(scoped_ptr<VideoRenderer> video_renderer);
scoped_ptr<VideoRenderer> GetVideoRenderer(); scoped_ptr<VideoRenderer> GetVideoRenderer();
// Remove remaining filters.
void Clear();
VideoDecoderList* GetVideoDecoders(); VideoDecoderList* GetVideoDecoders();
private: private:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment