Title: [247379] trunk/Source/WebCore
- Revision
- 247379
- Author
- simon.fra...@apple.com
- 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 <simon.fra...@apple.com>
+
+ Fix builds where HAVE_DESIGN_SYSTEM_UI_FONTS is not defined.
+
+ * platform/graphics/cocoa/FontCacheCoreText.cpp:
+ (WebCore::fontWithFamilySpecialCase):
+
2019-07-11 Justin Fan <justin_...@apple.com>
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
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes