Title: [247379] trunk/Source/WebCore
- Revision
- 247379
- Author
- [email protected]
- Date
- 2019-07-11 19:20:51 -0700 (Thu, 11 Jul 2019)
Log Message
Fix builds where HAVE_DESIGN_SYSTEM_UI_FONTS is not defined.
* platform/graphics/cocoa/FontCacheCoreText.cpp:
(WebCore::fontWithFamilySpecialCase):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (247378 => 247379)
--- trunk/Source/WebCore/ChangeLog 2019-07-12 01:13:31 UTC (rev 247378)
+++ trunk/Source/WebCore/ChangeLog 2019-07-12 02:20:51 UTC (rev 247379)
@@ -1,3 +1,10 @@
+2019-07-11 Simon Fraser <[email protected]>
+
+ Fix builds where HAVE_DESIGN_SYSTEM_UI_FONTS is not defined.
+
+ * platform/graphics/cocoa/FontCacheCoreText.cpp:
+ (WebCore::fontWithFamilySpecialCase):
+
2019-07-11 Justin Fan <[email protected]>
Unreviewed build fix.
Modified: trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp (247378 => 247379)
--- trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp 2019-07-12 01:13:31 UTC (rev 247378)
+++ trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp 2019-07-12 02:20:51 UTC (rev 247379)
@@ -1266,6 +1266,11 @@
if (!cascadeList.isEmpty())
return createFontForInstalledFonts(cascadeList[0].get(), size, allowUserInstalledFonts);
}
+#else
+ UNUSED_PARAM(family);
+ UNUSED_PARAM(fontDescription);
+ UNUSED_PARAM(size);
+ UNUSED_PARAM(allowUserInstalledFonts);
#endif
return nullptr;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes