Index: chrome/browser/ui/fullscreen/flash_fullscreen_interactive_browsertest.cc |
diff --git a/chrome/browser/ui/fullscreen/flash_fullscreen_interactive_browsertest.cc b/chrome/browser/ui/fullscreen/flash_fullscreen_interactive_browsertest.cc |
index 4d4f96e371454882afb764195ba3aab1445cbbb8..030456b6fa07bb378fd21b548e8f76963f7573c4 100644 |
--- a/chrome/browser/ui/fullscreen/flash_fullscreen_interactive_browsertest.cc |
+++ b/chrome/browser/ui/fullscreen/flash_fullscreen_interactive_browsertest.cc |
@@ -240,9 +240,9 @@ class FlashFullscreenInteractiveBrowserTest : public OutOfProcessPPAPITest { |
static void CheckBitmapForFillColor(SkColor expected_color, |
bool* is_expected_color, |
const base::Closure& done_cb, |
- bool success, |
- const SkBitmap& bitmap) { |
- if (success) { |
+ const SkBitmap& bitmap, |
+ content::ReadbackResponse response) { |
+ if (response == content::READBACK_SUCCESS) { |
SkAutoLockPixels lock_pixels(bitmap); |
if (bitmap.width() > 0 && bitmap.height() > 0) |
*is_expected_color = (bitmap.getColor(0, 0) == expected_color); |