diff options
author | halcanary <halcanary@google.com> | 2016-02-11 07:59:59 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-11 07:59:59 -0800 |
commit | 7001576c7160e20c9c9db2fbe947408989027d66 (patch) | |
tree | f349b8744cc86d24128c7a0c79b0bb77bb5d0691 /tests | |
parent | db6a254bdcf6884db172f716966d7787e0d6f264 (diff) |
SkDocument: remove use of SkTArray (part 1/3).
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1689683002
Review URL: https://codereview.chromium.org/1689683002
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PDFMetadataAttributeTest.cpp | 2 |
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()); |