Index: bench/PDFBench.cpp |
diff --git a/bench/PDFBench.cpp b/bench/PDFBench.cpp |
index 5b33e8ca152d2d1c9b4d8bf3e2c61819e1c76ae9..1010f74ab50934aa5da337b4f84b8c7ede9b13a6 100644 |
--- a/bench/PDFBench.cpp |
+++ b/bench/PDFBench.cpp |
@@ -30,14 +30,13 @@ struct NullWStream : public SkWStream { |
static void test_pdf_object_serialization(const sk_sp<SkPDFObject> object) { |
// SkDebugWStream wStream; |
NullWStream wStream; |
- SkPDFSubstituteMap substitutes; |
SkPDFObjNumMap objNumMap; |
- objNumMap.addObjectRecursively(object.get(), substitutes); |
+ objNumMap.addObjectRecursively(object.get()); |
for (int i = 0; i < objNumMap.objects().count(); ++i) { |
SkPDFObject* object = objNumMap.objects()[i].get(); |
wStream.writeDecAsText(i + 1); |
wStream.writeText(" 0 obj\n"); |
- object->emitObject(&wStream, objNumMap, substitutes); |
+ object->emitObject(&wStream, objNumMap); |
wStream.writeText("\nendobj\n"); |
} |
} |