| Index: content/browser/web_contents/web_contents_android.cc
|
| diff --git a/content/browser/web_contents/web_contents_android.cc b/content/browser/web_contents/web_contents_android.cc
|
| index d85822d6c47921c6897082d163c04916d2832319..2d42379caca752f4df5d131e2c7114a2a2999f92 100644
|
| --- a/content/browser/web_contents/web_contents_android.cc
|
| +++ b/content/browser/web_contents/web_contents_android.cc
|
| @@ -638,7 +638,7 @@ void WebContentsAndroid::GetContentBitmap(
|
| weak_factory_.GetWeakPtr(),
|
| base::Owned(new ScopedJavaGlobalRef<jobject>(env, obj)),
|
| base::Owned(new ScopedJavaGlobalRef<jobject>(env, jcallback)));
|
| - SkColorType pref_color_type = gfx::ConvertToSkiaColorType(color_type.obj());
|
| + SkColorType pref_color_type = gfx::ConvertToSkiaColorType(color_type);
|
| if (!view || pref_color_type == kUnknown_SkColorType) {
|
| result_callback.Run(SkBitmap(), READBACK_FAILED);
|
| return;
|
|
|