Index: content/shell/renderer/webkit_test_runner.cc |
diff --git a/content/shell/renderer/webkit_test_runner.cc b/content/shell/renderer/webkit_test_runner.cc |
index 583f152e9027e31ebd33000969140071db43070a..48a979b2795defd5510be732fcf97b073e114640 100644 |
--- a/content/shell/renderer/webkit_test_runner.cc |
+++ b/content/shell/renderer/webkit_test_runner.cc |
@@ -115,7 +115,7 @@ void MakeBitmapOpaque(SkBitmap* bitmap) { |
void CopyCanvasToBitmap(SkCanvas* canvas, SkBitmap* snapshot) { |
SkBaseDevice* device = skia::GetTopDevice(*canvas); |
const SkBitmap& bitmap = device->accessBitmap(false); |
- const bool success = bitmap.copyTo(snapshot, SkBitmap::kARGB_8888_Config); |
+ const bool success = bitmap.copyTo(snapshot, kPMColor_SkColorType); |
DCHECK(success); |
#if !defined(OS_MACOSX) |