aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-02-11 07:59:59 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-11 07:59:59 -0800
commit7001576c7160e20c9c9db2fbe947408989027d66 (patch)
treef349b8744cc86d24128c7a0c79b0bb77bb5d0691 /tests
parentdb6a254bdcf6884db172f716966d7787e0d6f264 (diff)
SkDocument: remove use of SkTArray (part 1/3).
Diffstat (limited to 'tests')
-rw-r--r--tests/PDFMetadataAttributeTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PDFMetadataAttributeTest.cpp b/tests/PDFMetadataAttributeTest.cpp
index e58146ba2b..e436ee29ef 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());