Index: dm/DMReplayTask.cpp |
diff --git a/dm/DMReplayTask.cpp b/dm/DMReplayTask.cpp |
index a126f2cfe2162cd5b8cea565deaf1d65136c1401..86838795d26d0929c4d092c4e6ca00070bf77fce 100644 |
--- a/dm/DMReplayTask.cpp |
+++ b/dm/DMReplayTask.cpp |
@@ -30,7 +30,7 @@ void ReplayTask::draw() { |
SkAutoTUnref<SkPicture> recorded(RecordPicture(fGM.get(), 0, factory.get())); |
SkBitmap bitmap; |
- SetupBitmap(fReference.colorType(), fGM.get(), &bitmap); |
+ AllocatePixels(fReference, &bitmap); |
DrawPicture(recorded, &bitmap); |
if (!BitmapsEqual(bitmap, fReference)) { |
this->fail(); |