Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(881)

Unified Diff: content/browser/android/content_readback_handler.cc

Issue 374633002: SkBitmap::Config is deprecated, use SkColorType instead (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments from #4 Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/android/content_readback_handler.cc
diff --git a/content/browser/android/content_readback_handler.cc b/content/browser/android/content_readback_handler.cc
index 841ef5f051ae0b8eb390a8f9ea8c57649563f58e..601e3a317283eb1332a1e9fcb77c0f6dd2d157ab 100644
--- a/content/browser/android/content_readback_handler.cc
+++ b/content/browser/android/content_readback_handler.cc
@@ -54,7 +54,7 @@ void ContentReadbackHandler::GetContentBitmap(JNIEnv* env,
jobject obj,
jint readback_id,
jfloat scale,
- jobject config,
+ jobject color_type,
jfloat x,
jfloat y,
jfloat width,
@@ -70,7 +70,7 @@ void ContentReadbackHandler::GetContentBitmap(JNIEnv* env,
readback_id);
view->GetScaledContentBitmap(
- scale, config, gfx::Rect(x, y, width, height), result_callback);
+ scale, color_type, gfx::Rect(x, y, width, height), result_callback);
}
void ContentReadbackHandler::GetCompositorBitmap(JNIEnv* env,

Powered by Google App Engine
This is Rietveld 408576698