Index: dm/DMPDFTask.cpp |
diff --git a/dm/DMPDFTask.cpp b/dm/DMPDFTask.cpp |
index c047771587dce0a625fa5127ee3f61b7fe254c91..c996aae53cfc67c54617be00de3a19d9495b3fed 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 { |