diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/doc/SkDocument_PDF.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/doc/SkDocument_PDF.cpp b/src/doc/SkDocument_PDF.cpp index fb560ea1e3..a56de707fe 100644 --- a/src/doc/SkDocument_PDF.cpp +++ b/src/doc/SkDocument_PDF.cpp @@ -370,10 +370,11 @@ protected: fCanon.reset(); } - void setMetadata(const SkTArray<SkDocument::Attribute>& info, + void setMetadata(const SkDocument::Attribute info[], + int infoCount, const SkTime::DateTime* creationDate, const SkTime::DateTime* modifiedDate) override { - fMetadata.fInfo = info; + fMetadata.fInfo.reset(info, infoCount); fMetadata.fCreation.reset(clone(creationDate)); fMetadata.fModified.reset(clone(modifiedDate)); } |