Index: tests/SerializationTest.cpp |
diff --git a/tests/SerializationTest.cpp b/tests/SerializationTest.cpp |
index f6a8a7d5fc48d0b06f63fff33f512bb4c1630146..deeeb810d6f54e68e0e8cacff59d48b896084caf 100644 |
--- a/tests/SerializationTest.cpp |
+++ b/tests/SerializationTest.cpp |
@@ -331,6 +331,10 @@ static void TestPictureTypefaceSerialization(skiatest::Reporter* reporter) { |
return; |
} |
+ typeface = SkTypeface::CreateFromName("Skia", SkTypeface::kNormal); |
+ if (!typeface) { |
+ SkDebugf("Could not get Skia font."); |
+ } |
// Create a paint with the typeface we loaded. |
SkPaint paint; |
paint.setColor(SK_ColorGRAY); |