[Webkit-unassigned] [Bug 241391] New: WebCore::Color::operator= could be cheaper

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 7 17:08:24 PDT 2022


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

            Bug ID: 241391
           Summary: WebCore::Color::operator= could be cheaper
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: heycam at apple.com
                CC: webkit-bug-importer at group.apple.com

Currently Color::operator= checks for full equality of the two Color objects before proceeding to do the assignment.  We really only need to check that the deref/ref sequence of an out-of-line component is safe.

-- 
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/20220608/393b0477/attachment-0001.htm>


More information about the webkit-unassigned mailing list