Index: src/pdf/SkPDFStream.h |
diff --git a/src/pdf/SkPDFStream.h b/src/pdf/SkPDFStream.h |
index 9a43e3c9efa3e9978c9fbe642bd1070b2ff1914e..b43ead59984ab23e626e199b069c8bdd8e682fc6 100644 |
--- a/src/pdf/SkPDFStream.h |
+++ b/src/pdf/SkPDFStream.h |
@@ -15,7 +15,7 @@ |
#include "SkStream.h" |
#include "SkTemplates.h" |
-class SkPDFCatalog; |
+class SkPDFObjNumMap; |
/** \class SkPDFStream |
@@ -40,7 +40,9 @@ public: |
virtual ~SkPDFStream(); |
// The SkPDFObject interface. |
- virtual void emitObject(SkWStream* stream, SkPDFCatalog* catalog) override; |
+ virtual void emitObject(SkWStream* stream, |
+ const SkPDFObjNumMap& objNumMap, |
+ const SkPDFSubstituteMap& substitutes) override; |
protected: |
enum State { |
@@ -55,10 +57,6 @@ protected: |
*/ |
SkPDFStream(); |
- // Populate the stream dictionary. This method returns false if |
- // fSubstitute should be used. |
- virtual bool populate(SkPDFCatalog* catalog); |
- |
void setData(SkData* data); |
void setData(SkStream* stream); |