Index: dm/DMReplayTask.cpp |
diff --git a/dm/DMReplayTask.cpp b/dm/DMReplayTask.cpp |
index af8669b7d11e1653dda2bd57e2a2ba9505acd93e..3b47962a207ad70b99a17547e742f47c09629f24 100644 |
--- a/dm/DMReplayTask.cpp |
+++ b/dm/DMReplayTask.cpp |
@@ -27,7 +27,7 @@ void ReplayTask::draw() { |
RecordPicture(fGM.get(), &recorded, flags); |
SkBitmap bitmap; |
- SetupBitmap(fReference.config(), fGM.get(), &bitmap); |
+ SetupBitmap(fReference.colorType(), fGM.get(), &bitmap); |
DrawPicture(&recorded, &bitmap); |
if (!BitmapsEqual(bitmap, fReference)) { |
this->fail(); |