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