diff options
Diffstat (limited to 'tests/PDFPrimitivesTest.cpp')
-rw-r--r-- | tests/PDFPrimitivesTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PDFPrimitivesTest.cpp b/tests/PDFPrimitivesTest.cpp index 07ddabc912..e438bfef78 100644 --- a/tests/PDFPrimitivesTest.cpp +++ b/tests/PDFPrimitivesTest.cpp @@ -436,7 +436,7 @@ DEF_TEST(PDFFontCanEmbedTypeface, reporter) { !SkPDFFont::CanEmbedTypeface(noEmbedTypeface.get(), &canon)); } sk_sp<SkTypeface> portableTypeface( - sk_tool_utils::create_portable_typeface(NULL, SkTypeface::kNormal)); + sk_tool_utils::create_portable_typeface(NULL, SkFontStyle())); REPORTER_ASSERT(reporter, SkPDFFont::CanEmbedTypeface(portableTypeface.get(), &canon)); } |