Index: src/pdf/SkPDFTypes.cpp |
diff --git a/src/pdf/SkPDFTypes.cpp b/src/pdf/SkPDFTypes.cpp |
index 11f4310944f4df3b1400d5e528522546612298f1..ba5d6e29e7c22a32b8629e0cb3e3936168a37cc6 100644 |
--- a/src/pdf/SkPDFTypes.cpp |
+++ b/src/pdf/SkPDFTypes.cpp |
@@ -270,6 +270,7 @@ SkPDFUnion SkPDFUnion::Object(SkPDFObject* ptr) { |
//////////////////////////////////////////////////////////////////////////////// |
+#if 0 // Enable if needed. |
void SkPDFAtom::emitObject(SkWStream* stream, |
const SkPDFObjNumMap& objNumMap, |
const SkPDFSubstituteMap& substitutes) { |
@@ -279,7 +280,7 @@ void SkPDFAtom::addResources(SkPDFObjNumMap* map, |
const SkPDFSubstituteMap& substitutes) const { |
fValue.addResources(map, substitutes); |
} |
- |
+#endif // 0 |
//////////////////////////////////////////////////////////////////////////////// |
// static |
@@ -416,12 +417,6 @@ void SkPDFArray::append(SkPDFUnion&& value) { |
SkNEW_PLACEMENT_ARGS(fValues.append(), SkPDFUnion, (value.move())); |
} |
-SkPDFObject* SkPDFArray::append(SkPDFObject* value) { |
- // DEPRECATED |
- this->append(SkPDFUnion::Object(SkRef(value))); |
- return value; |
-} |
- |
void SkPDFArray::appendInt(int32_t value) { |
this->append(SkPDFUnion::Int(value)); |
} |
@@ -512,12 +507,6 @@ void SkPDFDict::insertObject(const SkString& key, SkPDFObject* value) { |
this->set(SkPDFUnion::Name(key), SkPDFUnion::Object(value)); |
} |
-// DEPRECATED |
-SkPDFObject* SkPDFDict::insert(const char key[], SkPDFObject* value) { |
- this->set(SkPDFUnion::Name(key), SkPDFUnion::Object(SkRef(value))); |
- return value; |
-} |
- |
void SkPDFDict::insertBool(const char key[], bool value) { |
this->set(SkPDFUnion::Name(key), SkPDFUnion::Bool(value)); |
} |