[Webkit-unassigned] [Bug 284933] New: Avoid churning Style::Colors via colorResolvingCurrentColor()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 18 21:25:04 PST 2024


https://bugs.webkit.org/show_bug.cgi?id=284933

            Bug ID: 284933
           Summary: Avoid churning Style::Colors via
                    colorResolvingCurrentColor()
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com
                CC: koivisto at iki.fi

Style::Color can be expensive to create and destroy because of the std::variant overhead.

We can avoid having RenderStyle::unresolvedColorForProperty return a copy.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241219/a020f146/attachment.htm>


More information about the webkit-unassigned mailing list