Replace SkTScopedPtr with SkAutoTDelete in Skia.
BUG=
R=djsollen@google.com, reed@google.com, vandebo@chromium.org
Author: mtklein@google.com
Review URL: https://chromiumcodereview.appspot.com/23621005
git-svn-id: http://skia.googlecode.com/svn/trunk@11016 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/pdf/SkPDFDevice.h b/include/pdf/SkPDFDevice.h
index 978dc1e..8ac227d 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 @@
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;