Summary: | Add isMainThread() assertions to specializedChineseLocale | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Cameron McCormack (:heycam) <heycam> | ||||||||
Component: | Layout and Rendering | Assignee: | Cameron McCormack (:heycam) <heycam> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | bfulgham, mattwoodrow, mmaxfield, simon.fraser, webkit-bug-importer, ysuzuki, zalan | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Local Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 233488 | ||||||||||
Attachments: |
|
Description
Cameron McCormack (:heycam)
2021-12-07 22:52:52 PST
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? 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]. |