| Index: content/browser/media/capture/web_contents_video_capture_device.cc
|
| diff --git a/content/browser/media/capture/web_contents_video_capture_device.cc b/content/browser/media/capture/web_contents_video_capture_device.cc
|
| index 8a8474c2782f9b0e6e11fd8314a896141e73797a..98248494f83843e80b4b31e8b238066e4e13a1f2 100644
|
| --- a/content/browser/media/capture/web_contents_video_capture_device.cc
|
| +++ b/content/browser/media/capture/web_contents_video_capture_device.cc
|
| @@ -469,7 +469,7 @@ void RenderVideoFrame(const SkBitmap& input,
|
| // Sanity-check the captured bitmap.
|
| if (input.empty() ||
|
| !input.readyToDraw() ||
|
| - input.config() != SkBitmap::kARGB_8888_Config ||
|
| + input.colorType() != kN32_SkColorType ||
|
| input.width() < 2 || input.height() < 2) {
|
| DVLOG(1) << "input unacceptable (size="
|
| << input.getSize()
|
| @@ -667,7 +667,7 @@ void WebContentsCaptureMachine::Capture(
|
| start_time,
|
| target,
|
| deliver_frame_cb),
|
| - SkBitmap::kARGB_8888_Config);
|
| + kN32_SkColorType);
|
| }
|
| }
|
|
|
|
|