Bug 241391
| Summary: | WebCore::Color::operator= could be cheaper | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Cameron McCormack (:heycam) <heycam> |
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Cameron McCormack (:heycam)
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/94582055>
Cameron McCormack (:heycam)
This was a regression on the benchmark I was targeting.