Index: media/base/filters.cc |
diff --git a/media/base/filters.cc b/media/base/filters.cc |
index 877f3913216872a9c08f1ff21987806cbcf4ea3b..ace7d4ec613ae1bf92d8a0bb7bd8e5939244c847 100644 |
--- a/media/base/filters.cc |
+++ b/media/base/filters.cc |
@@ -29,6 +29,11 @@ Filter::Filter() : host_(NULL) {} |
Filter::~Filter() {} |
+void Filter::clear_host() { |
+ DCHECK(host_); |
+ host_ = NULL; |
+} |
+ |
void Filter::set_host(FilterHost* host) { |
DCHECK(host); |
DCHECK(!host_); |