Title: [188875] trunk/Source/WebCore
- Revision
- 188875
- Author
- [email protected]
- Date
- 2015-08-24 12:03:28 -0700 (Mon, 24 Aug 2015)
Log Message
Try to fix the build.
* platform/graphics/cocoa/FontCacheCoreText.cpp:
(WebCore::FontCache::createFontPlatformData):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (188874 => 188875)
--- trunk/Source/WebCore/ChangeLog 2015-08-24 18:50:09 UTC (rev 188874)
+++ trunk/Source/WebCore/ChangeLog 2015-08-24 19:03:28 UTC (rev 188875)
@@ -1,5 +1,12 @@
2015-08-24 Tim Horton <[email protected]>
+ Try to fix the build.
+
+ * platform/graphics/cocoa/FontCacheCoreText.cpp:
+ (WebCore::FontCache::createFontPlatformData):
+
+2015-08-24 Tim Horton <[email protected]>
+
Fix the build.
* platform/graphics/mac/FontCacheMac.mm:
Modified: trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp (188874 => 188875)
--- trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp 2015-08-24 18:50:09 UTC (rev 188874)
+++ trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp 2015-08-24 19:03:28 UTC (rev 188875)
@@ -480,7 +480,11 @@
// Ignore the result because we want to use our own algorithm to actually find the font.
CFRelease(CTFontCreateWithName(family.string().createCFString().get(), size, nullptr));
+#if ENABLE(PLATFORM_FONT_LOOKUP)
+ font = platformFontLookupWithFamily(family, traits, fontDescription.weight(), fontDescription.featureSettings(), fontDescription.textRenderingMode(), size);
+#else
font = platformFontWithFamily(family, traits, fontDescription.weight(), fontDescription.featureSettings(), fontDescription.textRenderingMode(), size);
+#endif
if (!font)
return nullptr;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes