| Index: chromecast/media/cma/backend/video_plane_fake.h
|
| diff --git a/chromecast/media/cma/backend/video_plane_fake.h b/chromecast/media/cma/backend/video_plane_fake.h
|
| index f809015673d1d8e9debd2fcd0af2a06a216bdd13..1cfe38c2991e5702fb5229401a11c02754992e82 100644
|
| --- a/chromecast/media/cma/backend/video_plane_fake.h
|
| +++ b/chromecast/media/cma/backend/video_plane_fake.h
|
| @@ -6,7 +6,6 @@
|
| #define CHROMECAST_MEDIA_CMA_BACKEND_VIDEO_PLANE_FAKE_H_
|
|
|
| #include "base/macros.h"
|
| -#include "base/memory/singleton.h"
|
| #include "chromecast/media/cma/backend/video_plane.h"
|
|
|
| namespace chromecast {
|
| @@ -14,19 +13,14 @@ namespace media {
|
|
|
| class VideoPlaneFake : public VideoPlane {
|
| public:
|
| - static VideoPlaneFake* GetInstance();
|
| + VideoPlaneFake();
|
| + virtual ~VideoPlaneFake();
|
|
|
| // VideoPlane implementation.
|
| - gfx::Size GetVideoPlaneResolution() override;
|
| + gfx::Size GetScreenResolution() override;
|
| void SetGeometry(const gfx::QuadF& quad,
|
| CoordinateType coordinate_type) override;
|
| -
|
| - private:
|
| - friend struct DefaultSingletonTraits<VideoPlaneFake>;
|
| - friend class Singleton<VideoPlaneFake>;
|
| -
|
| - VideoPlaneFake();
|
| - virtual ~VideoPlaneFake();
|
| + void OnScreenResolutionChanged(const gfx::Size& screen_res) override;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(VideoPlaneFake);
|
| };
|
|
|