Index: src/pdf/SkPDFTypes.cpp |
diff --git a/src/pdf/SkPDFTypes.cpp b/src/pdf/SkPDFTypes.cpp |
index 89d6a0bc48dd7674ff3d3ed7fe11bc83db7b8099..cd130cfc520b46f36918b80b016f7da5bf713da1 100644 |
--- a/src/pdf/SkPDFTypes.cpp |
+++ b/src/pdf/SkPDFTypes.cpp |
@@ -255,14 +255,6 @@ void SkPDFArray::reserve(int length) { |
fValue.setReserve(length); |
} |
-SkPDFObject* SkPDFArray::setAt(int offset, SkPDFObject* value) { |
- SkASSERT(offset < fValue.count()); |
- value->ref(); |
- fValue[offset]->unref(); |
- fValue[offset] = value; |
- return value; |
-} |
- |
SkPDFObject* SkPDFArray::append(SkPDFObject* value) { |
SkASSERT(fValue.count() < kMaxLen); |
value->ref(); |