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 bcee4c4c157225b16f980a80f43d4d376a082ba3..2d7598b5ece551a13b5486f3e0b9c80c0414e553 100644 |
--- a/content/renderer/media/html_video_element_capturer_source.h |
+++ b/content/renderer/media/html_video_element_capturer_source.h |
@@ -14,13 +14,14 @@ |
#include "media/base/video_frame_pool.h" |
#include "media/base/video_types.h" |
#include "third_party/WebKit/public/platform/WebSize.h" |
-#include "third_party/skia/include/core/SkCanvas.h" |
#include "third_party/skia/include/core/SkRefCnt.h" |
namespace blink { |
class WebMediaPlayer; |
} // namespace blink |
+class SkSurface; |
+ |
namespace content { |
// This class is a VideoCapturerSource taking video snapshots of the ctor-passed |
@@ -56,7 +57,7 @@ class CONTENT_EXPORT HtmlVideoElementCapturerSource final |
void sendNewFrame(); |
media::VideoFramePool frame_pool_; |
- sk_sp<SkCanvas> canvas_; |
+ sk_sp<SkSurface> surface_; |
const base::WeakPtr<blink::WebMediaPlayer> web_media_player_; |
const scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; |