| Index: src/pdf/SkPDFDevice.cpp
|
| diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp
|
| index 94a103aeb1ad2a8b849d6bc19d9abc40163ef0a7..443bb1aedfd5d2a06e8a271438c709729defab2c 100644
|
| --- a/src/pdf/SkPDFDevice.cpp
|
| +++ b/src/pdf/SkPDFDevice.cpp
|
| @@ -732,9 +732,9 @@ SkPDFDevice::~SkPDFDevice() {
|
| }
|
|
|
| void SkPDFDevice::init() {
|
| - fContentEntries.free();
|
| + fContentEntries.reset();
|
| fLastContentEntry = nullptr;
|
| - fMarginContentEntries.free();
|
| + fMarginContentEntries.reset();
|
| fLastMarginContentEntry = nullptr;
|
| fDrawingArea = kContent_DrawingArea;
|
| if (fFontGlyphUsage.get() == nullptr) {
|
|
|