Index: Source/platform/fonts/skia/FontCacheSkia.cpp |
diff --git a/Source/platform/fonts/skia/FontCacheSkia.cpp b/Source/platform/fonts/skia/FontCacheSkia.cpp |
index 4fa74dfc0aae7de3a94626c87fbe75e0a369b8df..85a43d527553fe12d5666f157cfd051cc6935c1d 100644 |
--- a/Source/platform/fonts/skia/FontCacheSkia.cpp |
+++ b/Source/platform/fonts/skia/FontCacheSkia.cpp |
@@ -178,6 +178,8 @@ PassRefPtr<SkTypeface> FontCache::createTypeface(const FontDescription& fontDesc |
if (typeface) |
return adoptRef(typeface); |
+ else |
+ return nullptr; |
} |
#endif |