Index: src/pdf/SkPDFFont.cpp |
diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp |
index 4864c7c81cf60efd44d253c323409fb7e861797e..59bfc8f3f13baf4a03c6e69aabef3522598b11b3 100644 |
--- a/src/pdf/SkPDFFont.cpp |
+++ b/src/pdf/SkPDFFont.cpp |
@@ -1203,7 +1203,7 @@ SkPDFType1Font::~SkPDFType1Font() {} |
bool SkPDFType1Font::addFontDescriptor(int16_t defaultWidth) { |
if (SkPDFDict* descriptor = getFontDescriptor()) { |
this->insertObjRef("FontDescriptor", |
- sk_sp<SkPDFDict>(SkRef(descriptor))); |
+ sk_ref_sp(descriptor)); |
return true; |
} |