Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Unified Diff: include/pdf/SkPDFDocument.h

Issue 23621005: Replace SkTScopedPtr with SkAutoTDelete in Skia. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: port class comment Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/pdf/SkPDFDevice.h ('k') | include/utils/win/SkTScopedComPtr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « include/pdf/SkPDFDevice.h ('k') | include/utils/win/SkTScopedComPtr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698