Index: dm/DM.cpp |
diff --git a/dm/DM.cpp b/dm/DM.cpp |
index 29810130c31abecf1bb4a7147f8c6a9eb78a2d3c..64a4bc5a231a50f9e41251880b4d255a6b7cdd99 100644 |
--- a/dm/DM.cpp |
+++ b/dm/DM.cpp |
@@ -186,8 +186,8 @@ static void kick_off_skps(DM::Reporter* reporter, DM::TaskRunner* tasks) { |
exit(1); |
} |
- tasks->add(SkNEW_ARGS(DM::SKPTask, (reporter, tasks, pic->clone(), filename))); |
- tasks->add(SkNEW_ARGS(DM::PDFTask, (reporter, tasks, pic->clone(), filename, |
+ tasks->add(SkNEW_ARGS(DM::SKPTask, (reporter, tasks, pic, filename))); |
+ tasks->add(SkNEW_ARGS(DM::PDFTask, (reporter, tasks, pic, filename, |
RASTERIZE_PDF_PROC))); |
} |
} |