Index: src/pdf/SkPDFFont.cpp |
diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp |
index 97be32c41da531d3ca807413ea7780bc66612576..7a66bcd1e920eebc877b9ac92e7f7b773bb94275 100644 |
--- a/src/pdf/SkPDFFont.cpp |
+++ b/src/pdf/SkPDFFont.cpp |
@@ -1327,7 +1327,7 @@ |
bool SkPDFType3Font::populate(uint16_t glyphID) { |
SkPaint paint; |
- paint.setTypeface(sk_ref_sp(this->typeface())); |
+ paint.setTypeface(typeface()); |
paint.setTextSize(1000); |
const SkSurfaceProps props(0, kUnknown_SkPixelGeometry); |
SkAutoGlyphCache autoCache(paint, &props, nullptr); |