diff options
Diffstat (limited to 'dm/DMPDFTask.cpp')
-rw-r--r-- | dm/DMPDFTask.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dm/DMPDFTask.cpp b/dm/DMPDFTask.cpp index c047771587..c996aae53c 100644 --- a/dm/DMPDFTask.cpp +++ b/dm/DMPDFTask.cpp @@ -86,8 +86,9 @@ void PDFTask::draw() { this->spawnChild(SkNEW_ARGS(PDFRasterizeTask, (*this, pdfData->duplicate(), fRasterize))); } + const char* sourceType = fGM.get() ? "GM" : "SKP"; this->spawnChild(SkNEW_ARGS(WriteTask, - (*this, pdfData->duplicate(), ".pdf"))); + (*this, sourceType, pdfData->duplicate(), ".pdf"))); } bool PDFTask::shouldSkip() const { |