Index: third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp b/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp |
index 16678e70b19b88a6feb4f67e57f32b195d9e5e93..f163cdd6ee0717fd5e44c064e0dd3b59d5bc9f57 100644 |
--- a/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp |
@@ -211,6 +211,7 @@ sk_sp<SkTypeface> FontCache::createTypeface( |
#endif |
AtomicString family = creationParams.family(); |
+ DCHECK_NE(family, FontFamilyNames::system_ui); |
// If we're creating a fallback font (e.g. "-webkit-monospace"), convert the |
// name into the fallback name (like "monospace") that fontconfig understands. |
if (!family.length() || family.startsWith("-webkit-")) { |