summaryrefslogtreecommitdiffstats
path: root/webkit/support/webkit_support.cc
diff options
context:
space:
mode:
authorlevin@chromium.org <levin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-15 18:48:54 +0000
committerlevin@chromium.org <levin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-15 18:48:54 +0000
commitbf5604e21324c32393afa9754d37106d432bc8a7 (patch)
treefefe898402437a56c091a2261dd99aaa1609e333 /webkit/support/webkit_support.cc
parent675960006c65bd69ae927ac22fcd6a04f5f3dd15 (diff)
downloadchromium_src-bf5604e21324c32393afa9754d37106d432bc8a7.zip
chromium_src-bf5604e21324c32393afa9754d37106d432bc8a7.tar.gz
chromium_src-bf5604e21324c32393afa9754d37106d432bc8a7.tar.bz2
Revert 66125 -- Broke Windows build - Move FilterType into MediaFilterCollection
MediaFilterCollection is the only code that uses FilterType now so I'm moving the enum into that class and removing all references from the MediaFilter & derived classes. BUG=61823 TEST=No new functionality. Existing tests pass. Review URL: http://codereview.chromium.org/4653005 TBR=acolwell@chromium.org Review URL: http://codereview.chromium.org/4991003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66139 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support/webkit_support.cc')
-rw-r--r--webkit/support/webkit_support.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc
index eb839a1..b80c0af 100644
--- a/webkit/support/webkit_support.cc
+++ b/webkit/support/webkit_support.cc
@@ -292,7 +292,7 @@ WebKit::WebMediaPlayer* CreateMediaPlayer(WebFrame* frame,
scoped_refptr<webkit_glue::VideoRendererImpl> video_renderer(
new webkit_glue::VideoRendererImpl(false));
- collection->AddVideoRenderer(video_renderer);
+ collection->AddFilter(video_renderer);
return new webkit_glue::WebMediaPlayerImpl(
client, collection.release(), bridge_factory_simple,