Index: src/pdf/SkPDFTypes.cpp |
diff --git a/src/pdf/SkPDFTypes.cpp b/src/pdf/SkPDFTypes.cpp |
index 510b98b17f471d6148f7c709bf56d33cb3872679..11f4310944f4df3b1400d5e528522546612298f1 100644 |
--- a/src/pdf/SkPDFTypes.cpp |
+++ b/src/pdf/SkPDFTypes.cpp |
@@ -518,6 +518,10 @@ SkPDFObject* SkPDFDict::insert(const char key[], SkPDFObject* value) { |
return value; |
} |
+void SkPDFDict::insertBool(const char key[], bool value) { |
+ this->set(SkPDFUnion::Name(key), SkPDFUnion::Bool(value)); |
+} |
+ |
void SkPDFDict::insertInt(const char key[], int32_t value) { |
this->set(SkPDFUnion::Name(key), SkPDFUnion::Int(value)); |
} |