| Index: src/pdf/SkPDFFont.cpp
|
| diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp
|
| index 1a396c7da2181234f104cc7e56f14e0094b5eea4..c9de907dcca42eaa14cf363142a384e36af56899 100644
|
| --- a/src/pdf/SkPDFFont.cpp
|
| +++ b/src/pdf/SkPDFFont.cpp
|
| @@ -1390,10 +1390,8 @@ bool SkPDFType3Font::populate(uint16_t glyphID) {
|
| SkAutoTDelete<SkMemoryStream> glyphStream(new SkMemoryStream());
|
| glyphStream->setData(content.copyToData())->unref();
|
|
|
| - SkAutoTUnref<SkPDFStream> glyphDescription(
|
| - new SkPDFStream(glyphStream.get()));
|
| - charProcs->insert(characterName.c_str(),
|
| - new SkPDFObjRef(glyphDescription.get()))->unref();
|
| + charProcs->insertObjRef(characterName,
|
| + new SkPDFStream(glyphStream.get()));
|
| }
|
|
|
| insert("FontBBox", makeFontBBox(bbox, 1000))->unref();
|
|
|