| Index: include/pdf/SkPDFDevice.h
|
| diff --git a/include/pdf/SkPDFDevice.h b/include/pdf/SkPDFDevice.h
|
| index e64b83f3750fadd098d42c3b72d53466d79e1c8c..b097ba6d9549dd0e65b67d56e799e2c7f6f3788c 100644
|
| --- a/include/pdf/SkPDFDevice.h
|
| +++ b/include/pdf/SkPDFDevice.h
|
| @@ -18,7 +18,7 @@
|
| #include "SkRefCnt.h"
|
| #include "SkStream.h"
|
| #include "SkTDArray.h"
|
| -#include "SkTScopedPtr.h"
|
| +#include "SkTemplates.h"
|
|
|
| class SkPDFArray;
|
| class SkPDFDevice;
|
| @@ -216,21 +216,21 @@ private:
|
| SkTDArray<SkPDFFont*> fFontResources;
|
| SkTDArray<SkPDFObject*> fShaderResources;
|
|
|
| - SkTScopedPtr<ContentEntry> fContentEntries;
|
| + SkAutoTDelete<ContentEntry> fContentEntries;
|
| ContentEntry* fLastContentEntry;
|
| - SkTScopedPtr<ContentEntry> fMarginContentEntries;
|
| + SkAutoTDelete<ContentEntry> fMarginContentEntries;
|
| ContentEntry* fLastMarginContentEntry;
|
| DrawingArea fDrawingArea;
|
|
|
| const SkClipStack* fClipStack;
|
|
|
| // Accessor and setter functions based on the current DrawingArea.
|
| - SkTScopedPtr<ContentEntry>* getContentEntries();
|
| + SkAutoTDelete<ContentEntry>* getContentEntries();
|
| ContentEntry* getLastContentEntry();
|
| void setLastContentEntry(ContentEntry* contentEntry);
|
|
|
| // Glyph ids used for each font on this device.
|
| - SkTScopedPtr<SkPDFGlyphSetMap> fFontGlyphUsage;
|
| + SkAutoTDelete<SkPDFGlyphSetMap> fFontGlyphUsage;
|
|
|
| EncodeToDCTStream fEncoder;
|
|
|
|
|