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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/ContentViewReadbackTest.java

Issue 1040393002: The Java Client should be aware of the readback status. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build errors Created 5 years, 8 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/public/android/javatests/src/org/chromium/content/browser/ContentViewReadbackTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/ContentViewReadbackTest.java b/content/public/android/javatests/src/org/chromium/content/browser/ContentViewReadbackTest.java
index efed06e446c6b44df6b15b8597cf36f7543d5eee..bb80bd5a4193aceaca3ac7d69c1e9a3fae821b35 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/ContentViewReadbackTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/ContentViewReadbackTest.java
@@ -105,7 +105,7 @@ public class ContentViewReadbackTest extends ContentShellTestBase {
GetBitmapCallback callback = new GetBitmapCallback() {
@Override
- public void onFinishGetBitmap(Bitmap bitmap) {
+ public void onFinishGetBitmap(Bitmap bitmap, int response) {
assertNotNull("Readback did not return valid bitmap", bitmap);
// Verify a pixel in the center of the screenshot.
color.set(bitmap.getPixel(bitmap.getWidth() / 2, bitmap.getHeight() / 2));

Powered by Google App Engine
This is Rietveld 408576698