NEW 184320
WebCore::LocalDefaultSystemAppearance talks to NSApp
https://bugs.webkit.org/show_bug.cgi?id=184320
Summary WebCore::LocalDefaultSystemAppearance talks to NSApp
Brent Fulgham
Reported 2018-04-04 16:40:08 PDT
WebCore::LocalDefaultSystemAppearance talks to NSApp to get information about the current system appearance (colors, fonts, etc.). This code path is getting hit while computing styles in the WebContent process. It would be nice if we could either broker these calls to the UIProcess, or perhaps cache these values on the WebProcess side, updating when user settings change.
Attachments
Radar WebKit Bug Importer
Comment 1 2018-04-04 16:40:39 PDT
Timothy Hatcher
Comment 2 2018-04-19 13:09:54 PDT
We do cache the system colors, for each color, when it is not in the cache yet. The cache is cleared when the user appearance settings change. https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/rendering/RenderThemeMac.mm#L453
Note You need to log in before you can comment on or make changes to this bug.