| Index: chromecast/media/base/video_plane_controller.h
|
| diff --git a/chromecast/media/base/video_plane_controller.h b/chromecast/media/base/video_plane_controller.h
|
| index c14ae95504f93ee72d7b7b2c7874f34f2154d0ac..7b20b4869bd7c57e496e40ff4d1b70a4a6658f13 100644
|
| --- a/chromecast/media/base/video_plane_controller.h
|
| +++ b/chromecast/media/base/video_plane_controller.h
|
| @@ -36,8 +36,9 @@ namespace media {
|
| // All calls to public methods should be from the same thread.
|
| class VideoPlaneController {
|
| public:
|
| - static VideoPlaneController* GetInstance();
|
| -
|
| + explicit VideoPlaneController(
|
| + scoped_refptr<base::SingleThreadTaskRunner> media_task_runner);
|
| + ~VideoPlaneController();
|
| // Sets the video plane geometry (forwards to VideoPlane::SetGeometry)
|
| // in *graphics plane coordinates*.
|
| // * This should be called on UI thread (hopping to media thread is handled
|
| @@ -77,9 +78,6 @@ class VideoPlaneController {
|
| class RateLimitedSetVideoPlaneGeometry;
|
| friend struct base::DefaultSingletonTraits<VideoPlaneController>;
|
|
|
| - VideoPlaneController();
|
| - ~VideoPlaneController();
|
| -
|
| // Check if HaveDataForSetGeometry. If not, this method is a no-op. Otherwise
|
| // it scales the display rect from graphics to device resolution coordinates.
|
| // Then posts task to media thread for VideoPlane::SetGeometry.
|
|
|