Index: src/pdf/SkPDFResourceDict.cpp |
diff --git a/src/pdf/SkPDFResourceDict.cpp b/src/pdf/SkPDFResourceDict.cpp |
index 40fc1d8dc902342477b5eb181f334b20f19e33fd..69618de7142553378f201e13bec3ad1101f9e3bf 100644 |
--- a/src/pdf/SkPDFResourceDict.cpp |
+++ b/src/pdf/SkPDFResourceDict.cpp |
@@ -72,7 +72,6 @@ SkPDFObject* SkPDFResourceDict::insertResourceAsReference( |
SkPDFResourceType type, int key, SkPDFObject* value) { |
SkAutoTUnref<SkPDFObjRef> ref(SkNEW_ARGS(SkPDFObjRef, (value))); |
insertResource(type, key, ref); |
- fResources.add(value); |
return value; |
} |