| Index: content/renderer/media_capture_from_element/html_video_element_capturer_source.h
|
| diff --git a/content/renderer/media_capture_from_element/html_video_element_capturer_source.h b/content/renderer/media_capture_from_element/html_video_element_capturer_source.h
|
| index 4621b2fa03672845986fd9fc4a84bd7a3a6bb32d..38bf320efee4c90cc6619530fcef997d1988d5b4 100644
|
| --- a/content/renderer/media_capture_from_element/html_video_element_capturer_source.h
|
| +++ b/content/renderer/media_capture_from_element/html_video_element_capturer_source.h
|
| @@ -9,7 +9,6 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/threading/thread_checker.h"
|
| #include "base/time/time.h"
|
| -#include "cc/paint/paint_surface.h"
|
| #include "content/common/content_export.h"
|
| #include "media/base/video_frame_pool.h"
|
| #include "media/base/video_types.h"
|
| @@ -25,6 +24,10 @@ namespace blink {
|
| class WebMediaPlayer;
|
| } // namespace blink
|
|
|
| +namespace cc {
|
| +class PaintCanvas;
|
| +} // namespace cc
|
| +
|
| namespace content {
|
|
|
| // This class is a VideoCapturerSource taking video snapshots of the ctor-passed
|
| @@ -60,7 +63,7 @@ class CONTENT_EXPORT HtmlVideoElementCapturerSource final
|
| void sendNewFrame();
|
|
|
| media::VideoFramePool frame_pool_;
|
| - sk_sp<cc::PaintSurface> surface_;
|
| + std::unique_ptr<cc::PaintCanvas> canvas_;
|
|
|
| const base::WeakPtr<blink::WebMediaPlayer> web_media_player_;
|
| const scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
|
|
|