Index: src/pdf/SkPDFStream.cpp |
diff --git a/src/pdf/SkPDFStream.cpp b/src/pdf/SkPDFStream.cpp |
index c96a70f2e5bbfb802e29f376606f7045c225833e..4ae1f39d26f18dc9783c5bcf1decb75c7a828b05 100644 |
--- a/src/pdf/SkPDFStream.cpp |
+++ b/src/pdf/SkPDFStream.cpp |
@@ -64,7 +64,7 @@ void SkPDFStream::emitObject(SkWStream* stream, SkPDFCatalog* catalog, |
this->INHERITED::emitObject(stream, catalog, false); |
stream->writeText(" stream\n"); |
- stream->writeStream(fData.get(), fData->getLength()); |
+ stream->write(fData->getMemoryBase(), fData->getLength()); |
stream->writeText("\nendstream"); |
} |