Index: src/doc/SkDocument_PDF.cpp |
diff --git a/src/doc/SkDocument_PDF.cpp b/src/doc/SkDocument_PDF.cpp |
index fb560ea1e36c8347364747058e0697269b3eaa0c..a56de707fe1e90e95536b43fe42b5522d36d09d7 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)); |
} |