Index: dm/DMGpuGMTask.cpp |
diff --git a/dm/DMGpuGMTask.cpp b/dm/DMGpuGMTask.cpp |
index 3178fd6d99a5bc23388212cf96ecbef589d87e6d..65d65d9598ffdee02022f1fc3b5ec23d978abf9e 100644 |
--- a/dm/DMGpuGMTask.cpp |
+++ b/dm/DMGpuGMTask.cpp |
@@ -1,5 +1,4 @@ |
#include "DMGpuGMTask.h" |
- |
#include "DMUtil.h" |
#include "DMWriteTask.h" |
#include "SkCommandLineFlags.h" |
@@ -35,6 +34,7 @@ void GpuGMTask::draw(GrContextFactory* grFactory) { |
return; |
} |
SkCanvas* canvas = surface->getCanvas(); |
+ CanvasPreflight(canvas); |
canvas->concat(fGM->getInitialTransform()); |
fGM->draw(canvas); |