Index: tests/PDFPrimitivesTest.cpp |
diff --git a/tests/PDFPrimitivesTest.cpp b/tests/PDFPrimitivesTest.cpp |
index 07ddabc9126d18f2a0df71888b251cc477b2ad80..e438bfef78aa98d670a4a1a68627ecb549702a69 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)); |
} |