Index: include/pdf/SkPDFDocument.h |
diff --git a/include/pdf/SkPDFDocument.h b/include/pdf/SkPDFDocument.h |
index 31c6f9b8e8b6ec7f7f1cb7d82e755fee9caf649f..9f651fdcedb081c35c376d0896a4b175f40ddee9 100644 |
--- a/include/pdf/SkPDFDocument.h |
+++ b/include/pdf/SkPDFDocument.h |
@@ -13,7 +13,7 @@ |
#include "SkAdvancedTypefaceMetrics.h" |
#include "SkRefCnt.h" |
#include "SkTDArray.h" |
-#include "SkTScopedPtr.h" |
+#include "SkTemplates.h" |
class SkPDFCatalog; |
class SkPDFDevice; |
@@ -74,7 +74,7 @@ public: |
int counts[SkAdvancedTypefaceMetrics::kNotEmbeddable_Font + 1]) const; |
private: |
- SkTScopedPtr<SkPDFCatalog> fCatalog; |
+ SkAutoTDelete<SkPDFCatalog> fCatalog; |
int64_t fXRefFileOffset; |
SkTDArray<SkPDFPage*> fPages; |