aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdf')
-rw-r--r--src/pdf/SkPDFTypes.cpp8
-rw-r--r--src/pdf/SkPDFTypes.h12
2 files changed, 0 insertions, 20 deletions
diff --git a/src/pdf/SkPDFTypes.cpp b/src/pdf/SkPDFTypes.cpp
index 89d6a0bc48..cd130cfc52 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();
diff --git a/src/pdf/SkPDFTypes.h b/src/pdf/SkPDFTypes.h
index dca96e4596..76e191134c 100644
--- a/src/pdf/SkPDFTypes.h
+++ b/src/pdf/SkPDFTypes.h
@@ -250,18 +250,6 @@ public:
*/
void reserve(int length);
- /** Returns the object at the given offset in the array.
- * @param index The index into the array to retrieve.
- */
- SkPDFObject* getAt(int index) { return fValue[index]; }
-
- /** Set the object at the given offset in the array. Ref's value.
- * @param index The index into the array to set.
- * @param value The value to add to the array.
- * @return The value argument is returned.
- */
- SkPDFObject* setAt(int index, SkPDFObject* value);
-
/** Append the object to the end of the array and increments its ref count.
* @param value The value to add to the array.
* @return The value argument is returned.