Index: media/tools/player_wtl/movie.cc |
diff --git a/media/tools/player_wtl/movie.cc b/media/tools/player_wtl/movie.cc |
index 70ede51b578b4a478648245973feabcd8296ba6f..7a06cb9bc6d570e7b4aee81cb7c3d3ea85d18941 100644 |
--- a/media/tools/player_wtl/movie.cc |
+++ b/media/tools/player_wtl/movie.cc |
@@ -4,6 +4,7 @@ |
#include "media/tools/player_wtl/movie.h" |
+#include "base/singleton.h" |
#include "base/utf_string_conversions.h" |
#include "media/base/filter_collection.h" |
#include "media/base/pipeline_impl.h" |
@@ -39,6 +40,10 @@ Movie::Movie() |
Movie::~Movie() { |
} |
+Movie* Movie::GetInstance() { |
+ return Singleton<Movie>::get(); |
+} |
+ |
bool Movie::IsOpen() { |
return pipeline_ != NULL; |
} |