| Index: content/renderer/media/html_video_element_capturer_source.cc
|
| diff --git a/content/renderer/media/html_video_element_capturer_source.cc b/content/renderer/media/html_video_element_capturer_source.cc
|
| index d53e4fbc893db34f042cb6cb074ee11e6729942d..7c45e782e0b174f8d2d072af48f3a081d52cfb2e 100644
|
| --- a/content/renderer/media/html_video_element_capturer_source.cc
|
| +++ b/content/renderer/media/html_video_element_capturer_source.cc
|
| @@ -90,7 +90,7 @@ void HtmlVideoElementCapturerSource::StartCapture(
|
| return;
|
| }
|
| const blink::WebSize resolution = web_media_player_->naturalSize();
|
| - canvas_ = skia::AdoptRef(skia::CreatePlatformCanvas(resolution.width,
|
| + canvas_ = sk_sp<SkCanvas>(skia::CreatePlatformCanvas(resolution.width,
|
| resolution.height,
|
| true /* is_opaque */));
|
|
|
|
|