Index: tests/PDFPrimitivesTest.cpp |
diff --git a/tests/PDFPrimitivesTest.cpp b/tests/PDFPrimitivesTest.cpp |
index 58dd773fb84b36fda66d905289128c7bca025b38..07ddabc9126d18f2a0df71888b251cc477b2ad80 100644 |
--- a/tests/PDFPrimitivesTest.cpp |
+++ b/tests/PDFPrimitivesTest.cpp |
@@ -430,7 +430,7 @@ DEF_TEST(PDFFontCanEmbedTypeface, reporter) { |
SkPDFCanon canon; |
const char resource[] = "fonts/Roboto2-Regular_NoEmbed.ttf"; |
- sk_sp<SkTypeface> noEmbedTypeface(GetResourceAsTypeface(resource)); |
+ sk_sp<SkTypeface> noEmbedTypeface(MakeResourceAsTypeface(resource)); |
if (noEmbedTypeface) { |
REPORTER_ASSERT(reporter, |
!SkPDFFont::CanEmbedTypeface(noEmbedTypeface.get(), &canon)); |