Index: dm/DMSerializeTask.cpp |
diff --git a/dm/DMSerializeTask.cpp b/dm/DMSerializeTask.cpp |
index 3359f2e0aa77862c4008aae76d4850ce96a41797..7e45d49be5337da4386f1648e17ebd66293c7e8c 100644 |
--- a/dm/DMSerializeTask.cpp |
+++ b/dm/DMSerializeTask.cpp |
@@ -29,7 +29,7 @@ void SerializeTask::draw() { |
SkAutoTUnref<SkPicture> reconstructed(SkPicture::CreateFromStream(rStream)); |
SkBitmap bitmap; |
- SetupBitmap(fReference.config(), fGM.get(), &bitmap); |
+ SetupBitmap(fReference.colorType(), fGM.get(), &bitmap); |
DrawPicture(reconstructed, &bitmap); |
if (!BitmapsEqual(bitmap, fReference)) { |
this->fail(); |