Index: dm/DMCpuGMTask.cpp |
diff --git a/dm/DMCpuGMTask.cpp b/dm/DMCpuGMTask.cpp |
index 63a3c424c88a270cbbeec2e00123d22366220693..c3c4ae1367015572ec529f7d8f3d202a3f3d1b59 100644 |
--- a/dm/DMCpuGMTask.cpp |
+++ b/dm/DMCpuGMTask.cpp |
@@ -24,6 +24,7 @@ void CpuGMTask::draw() { |
AllocatePixels(fColorType, fGM->getISize().width(), fGM->getISize().height(), &bm); |
SkCanvas canvas(bm); |
+ CanvasPreflight(&canvas); |
canvas.concat(fGM->getInitialTransform()); |
fGM->draw(&canvas); |
canvas.flush(); |