Index: chromecast/media/cma/backend/video_plane_fake_factory.cc |
diff --git a/chromecast/media/base/key_systems_common_simple.cc b/chromecast/media/cma/backend/video_plane_fake_factory.cc |
similarity index 60% |
copy from chromecast/media/base/key_systems_common_simple.cc |
copy to chromecast/media/cma/backend/video_plane_fake_factory.cc |
index e6dbd02890298d0f97a9cb64240d6b8f47f75c0a..234500915632f385d1dd624e5fb800dca2986877 100644 |
--- a/chromecast/media/base/key_systems_common_simple.cc |
+++ b/chromecast/media/cma/backend/video_plane_fake_factory.cc |
@@ -2,13 +2,14 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chromecast/media/base/key_systems_common.h" |
+#include "chromecast/media/cma/backend/video_plane_fake.h" |
namespace chromecast { |
namespace media { |
-CastKeySystem GetPlatformKeySystemByName(const std::string& key_system_name) { |
- return KEY_SYSTEM_NONE; |
+// Global accessor to the video plane. |
+VideoPlane* GetVideoPlane() { |
+ return VideoPlaneFake::GetInstance(); |
} |
} // namespace media |