| Index: content/browser/android/content_view_core_impl.cc
|
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
|
| index d13d79600eae2e65f432ae7260f7ac7ab0368c9f..68e1062d5e7acd6a0ab5743cd15fc1ca7f27d496 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -640,7 +640,7 @@ void ContentViewCoreImpl::GetScaledContentBitmap(
|
| gfx::Rect src_subrect,
|
| ReadbackRequestCallback& result_callback) {
|
| RenderWidgetHostViewAndroid* view = GetRenderWidgetHostViewAndroid();
|
| - if (!view) {
|
| + if (!view || color_type == kUnknown_SkColorType) {
|
| result_callback.Run(SkBitmap(), READBACK_FAILED);
|
| return;
|
| }
|
|
|