Index: src/pdf/SkPDFPage.cpp |
diff --git a/src/pdf/SkPDFPage.cpp b/src/pdf/SkPDFPage.cpp |
index 418338715d52802165ac9a2e9dc15df91e630d00..c648472692fef6d1b28af1928c256b862eff2632 100644 |
--- a/src/pdf/SkPDFPage.cpp |
+++ b/src/pdf/SkPDFPage.cpp |
@@ -32,7 +32,7 @@ void SkPDFPage::finalizePage(SkPDFCatalog* catalog, bool firstPage, |
insert("Resources", fDevice->getResourceDict().get()); |
insert("MediaBox", fDevice->getMediaBox().get()); |
- fContent = fDevice->content(); |
+ fContent = fDevice->content(true); |
SkRefPtr<SkMemoryStream> contentStream = new SkMemoryStream( |
fContent.c_str(), fContent.size()); |
contentStream->unref(); // SkRefPtr and new both took a reference. |