Index: src/pdf/SkPDFStream.cpp |
diff --git a/src/pdf/SkPDFStream.cpp b/src/pdf/SkPDFStream.cpp |
index 4b55226f1253a794afddae2351b91edebebaf697..837de7a9698565a97a5bca2183d7ab48ea3e0360 100644 |
--- a/src/pdf/SkPDFStream.cpp |
+++ b/src/pdf/SkPDFStream.cpp |
@@ -58,19 +58,6 @@ void SkPDFStream::emitObject(SkWStream* stream, SkPDFCatalog* catalog) { |
stream->writeText("\nendstream"); |
} |
-size_t SkPDFStream::getOutputSize(SkPDFCatalog* catalog, bool indirect) { |
- if (indirect) { |
- return getIndirectOutputSize(catalog); |
- } |
- SkAutoMutexAcquire lock(fMutex); // multiple threads could be calling emit |
- if (!this->populate(catalog)) { |
- return fSubstitute->getOutputSize(catalog, indirect); |
- } |
- |
- return this->INHERITED::getOutputSize(catalog, false) + |
- strlen(" stream\n\nendstream") + this->dataSize(); |
-} |
- |
SkPDFStream::SkPDFStream() : fState(kUnused_State) {} |
void SkPDFStream::setData(SkData* data) { |