Index: content/renderer/media/html_video_element_capturer_source.h |
diff --git a/content/renderer/media/html_video_element_capturer_source.h b/content/renderer/media/html_video_element_capturer_source.h |
index 6bfa25bc452882fe063facae77663102bcb12796..295ecdc7d917220952829359266ea92ebc2d274b 100644 |
--- a/content/renderer/media/html_video_element_capturer_source.h |
+++ b/content/renderer/media/html_video_element_capturer_source.h |
@@ -9,6 +9,7 @@ |
#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" |
@@ -24,8 +25,6 @@ namespace blink { |
class WebMediaPlayer; |
} // namespace blink |
-class SkSurface; |
- |
namespace content { |
// This class is a VideoCapturerSource taking video snapshots of the ctor-passed |
@@ -61,7 +60,7 @@ class CONTENT_EXPORT HtmlVideoElementCapturerSource final |
void sendNewFrame(); |
media::VideoFramePool frame_pool_; |
- sk_sp<SkSurface> surface_; |
+ sk_sp<cc::PaintSurface> surface_; |
const base::WeakPtr<blink::WebMediaPlayer> web_media_player_; |
const scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; |