Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e655079064af83588a5c9021d7ff449ba86da050
https://github.com/WebKit/WebKit/commit/e655079064af83588a5c9021d7ff449ba86da050
Author: Vitor Roriz <[email protected]>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M Source/WTF/wtf/PlatformUse.h
M Source/WebCore/platform/graphics/Font.h
M Source/WebCore/platform/graphics/coretext/FontCoreText.cpp
Log Message:
-----------
Remove code guarded by USE_CTFONTHASTABLE
https://bugs.webkit.org/show_bug.cgi?id=276104
rdar://130928732
Reviewed by Brent Fulgham.
We no longer need this since USE(CTFONTHASTABLE)
is always true for our builds now.
We are also removing the wrapper `fontHasTable` as
it is now exactly what the lower level CT function
`fontHasTable` does. Wrapping seems unnecessary as
the function is just used locally and if any unlikely
change would occur with the CT API it would be fairly
simple to update it.
* Source/WTF/wtf/PlatformUse.h:
* Source/WebCore/platform/graphics/Font.h:
* Source/WebCore/platform/graphics/coretext/FontCoreText.cpp:
(WebCore::fontHasEitherTable):
(WebCore::Font::platformInit):
(WebCore::fontHasTable): Deleted.
Canonical link: https://commits.webkit.org/280564@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes