Index: media/base/filter_collection.cc |
diff --git a/media/base/filter_collection.cc b/media/base/filter_collection.cc |
index 730835f1919894e67421fb70077171526a1ed4f2..da5042f327ffbcae9af1c0cf61bc0312f8d082a3 100644 |
--- a/media/base/filter_collection.cc |
+++ b/media/base/filter_collection.cc |
@@ -6,6 +6,7 @@ |
#include "media/base/audio_renderer.h" |
#include "media/base/demuxer.h" |
+#include "media/base/text_renderer.h" |
#include "media/base/video_renderer.h" |
namespace media { |
@@ -40,4 +41,13 @@ scoped_ptr<VideoRenderer> FilterCollection::GetVideoRenderer() { |
return video_renderer_.Pass(); |
} |
+void FilterCollection::SetTextRenderer( |
+ scoped_ptr<TextRenderer> text_renderer) { |
+ text_renderer_ = text_renderer.Pass(); |
+} |
+ |
+scoped_ptr<TextRenderer> FilterCollection::GetTextRenderer() { |
+ return text_renderer_.Pass(); |
+} |
+ |
} // namespace media |