Index: tests/PDFMetadataAttributeTest.cpp |
diff --git a/tests/PDFMetadataAttributeTest.cpp b/tests/PDFMetadataAttributeTest.cpp |
index e58146ba2b6967ac3626750786083e9e1166252b..e436ee29efa2816fd3242e7632988e72780ff5aa 100644 |
--- a/tests/PDFMetadataAttributeTest.cpp |
+++ b/tests/PDFMetadataAttributeTest.cpp |
@@ -21,7 +21,7 @@ DEF_TEST(SkPDF_MetadataAttribute, r) { |
info.emplace_back(SkString("Creator"), SkString("A5")); |
SkTime::DateTime now; |
SkTime::GetDateTime(&now); |
- doc->setMetadata(info, &now, &now); |
+ doc->setMetadata(&info[0], info.count(), &now, &now); |
doc->beginPage(612.0f, 792.0f); |
doc->close(); |
SkAutoTUnref<SkData> data(pdf.copyToData()); |