| 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 6896939a61291fdf79f510b0dec4e116adeb3dd8..92d7f5afd4dd72c6491a9c148a0e394e38812032 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -641,17 +641,17 @@ void ContentViewCoreImpl::ShowPastePopup(int x_dip, int y_dip) {
|
|
|
| void ContentViewCoreImpl::GetScaledContentBitmap(
|
| float scale,
|
| - SkColorType color_type,
|
| + SkColorType preferred_color_type,
|
| gfx::Rect src_subrect,
|
| ReadbackRequestCallback& result_callback) {
|
| RenderWidgetHostViewAndroid* view = GetRenderWidgetHostViewAndroid();
|
| - if (!view || color_type == kUnknown_SkColorType) {
|
| + if (!view || preferred_color_type == kUnknown_SkColorType) {
|
| result_callback.Run(SkBitmap(), READBACK_FAILED);
|
| return;
|
| }
|
|
|
| - view->GetScaledContentBitmap(scale, color_type, src_subrect,
|
| - result_callback);
|
| + view->GetScaledContentBitmap(scale, preferred_color_type, src_subrect,
|
| + result_callback);
|
| }
|
|
|
| void ContentViewCoreImpl::StartContentIntent(const GURL& content_url) {
|
|
|