Index: dm/DMPipeTask.cpp |
diff --git a/dm/DMPipeTask.cpp b/dm/DMPipeTask.cpp |
index 13636d67d679f9f708a85175c66dfe9b3d83f0a5..22404ec08378a5e0dbdd112f6b3f7c34a1b4ab5c 100644 |
--- a/dm/DMPipeTask.cpp |
+++ b/dm/DMPipeTask.cpp |
@@ -45,7 +45,7 @@ PipeTask::PipeTask(const Task& parent, |
void PipeTask::draw() { |
SkBitmap bitmap; |
- SetupBitmap(fReference.colorType(), fGM.get(), &bitmap); |
+ AllocatePixels(fReference, &bitmap); |
SkCanvas canvas(bitmap); |
PipeController pipeController(&canvas, &SkImageDecoder::DecodeMemory); |