Add isMainThread() assertions to specializedChineseLocale
Created attachment 446307 [details] Patch
Comment on attachment 446307 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=446307&action=review > Source/WebCore/platform/graphics/FontDescription.cpp:103 > void FontDescription::setSpecifiedLocale(const AtomString& locale) It looks like this function is exported, but no one outside of WebCore calls it. Can we make it not exported?
<rdar://problem/86507335>
Created attachment 461023 [details] Patch
BTW, you can use MainThreadNeverDestroyed for NeverDestoryed objects which is available only in MainThread.
Created attachment 461026 [details] Patch
Committed 252637@main (5ba8177f9530): <https://commits.webkit.org/252637@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 461026 [details].