Index: src/pdf/SkPDFMetadata.cpp |
diff --git a/src/pdf/SkPDFMetadata.cpp b/src/pdf/SkPDFMetadata.cpp |
index 259249671fb2f543f538f74af58f0ca8969c9ec5..46fe461be5266cae528b82b02ff4534a29b47ce0 100644 |
--- a/src/pdf/SkPDFMetadata.cpp |
+++ b/src/pdf/SkPDFMetadata.cpp |
@@ -168,12 +168,11 @@ class PDFXMLObject final : public SkPDFObject { |
public: |
PDFXMLObject(SkString xml) : fXML(std::move(xml)) {} |
void emitObject(SkWStream* stream, |
- const SkPDFObjNumMap& omap, |
- const SkPDFSubstituteMap& smap) const override { |
+ const SkPDFObjNumMap& omap) const override { |
SkPDFDict dict("Metadata"); |
dict.insertName("Subtype", "XML"); |
dict.insertInt("Length", fXML.size()); |
- dict.emitObject(stream, omap, smap); |
+ dict.emitObject(stream, omap); |
static const char streamBegin[] = " stream\n"; |
stream->write(streamBegin, strlen(streamBegin)); |
// Do not compress this. The standard requires that a |