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

Unified Diff: src/pdf/SkPDFMetadata.h

Issue 1837553002: SkPDF s/SkAutoTDelete/std::unique_ptr/ (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-03-28 (Monday) 10:22:50 EDT Created 4 years, 9 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 | « src/pdf/SkPDFFont.cpp ('k') | src/pdf/SkPDFShader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFMetadata.h
diff --git a/src/pdf/SkPDFMetadata.h b/src/pdf/SkPDFMetadata.h
index 180d03befe675c0c5f2ba52cb4021c487bf6f5e4..eb14e48e23eece07b94fe3f006e5a4ad3268b063 100644
--- a/src/pdf/SkPDFMetadata.h
+++ b/src/pdf/SkPDFMetadata.h
@@ -15,8 +15,8 @@ class SkPDFObject;
struct SkPDFMetadata {
SkTArray<SkDocument::Attribute> fInfo;
- SkAutoTDelete<const SkTime::DateTime> fCreation;
- SkAutoTDelete<const SkTime::DateTime> fModified;
+ std::unique_ptr<const SkTime::DateTime> fCreation;
+ std::unique_ptr<const SkTime::DateTime> fModified;
SkPDFObject* createDocumentInformationDict() const;
« no previous file with comments | « src/pdf/SkPDFFont.cpp ('k') | src/pdf/SkPDFShader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698