| 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 8fdfb8c27fc22a55f2f07009d3d08203e02b8e8a..e8daf2b502e0208f0408e22fd8e7b620fd5345b6 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -630,7 +630,7 @@ void ContentViewCoreImpl::ShowPastePopup(int x_dip, int y_dip) {
|
|
|
| void ContentViewCoreImpl::GetScaledContentBitmap(
|
| float scale,
|
| - jobject jbitmap_config,
|
| + SkBitmap::Config bitmap_config,
|
| gfx::Rect src_subrect,
|
| const base::Callback<void(bool, const SkBitmap&)>& result_callback) {
|
| RenderWidgetHostViewAndroid* view = GetRenderWidgetHostViewAndroid();
|
| @@ -638,8 +638,7 @@ void ContentViewCoreImpl::GetScaledContentBitmap(
|
| result_callback.Run(false, SkBitmap());
|
| return;
|
| }
|
| - SkBitmap::Config skbitmap_format = gfx::ConvertToSkiaConfig(jbitmap_config);
|
| - view->GetScaledContentBitmap(scale, skbitmap_format, src_subrect,
|
| + view->GetScaledContentBitmap(scale, bitmap_config, src_subrect,
|
| result_callback);
|
| }
|
|
|
|
|