[Webkit-unassigned] [Bug 257788] New: Investigate using Markable instead of std::optional for ScrollbarColor
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 7 03:21:21 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=257788
Bug ID: 257788
Summary: Investigate using Markable instead of std::optional
for ScrollbarColor
Product: WebKit
Version: Safari 16
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: luke at warlow.dev
We should check with the dump-class-layout, but the optional might make it align at 12 bytes (4 for each StyleColor).
Using a custom Markable<ScrollbarColor> when any of the underlying color is invalid could save 4 bytes
--
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/20230607/19f9ddb4/attachment-0001.htm>
More information about the webkit-unassigned
mailing list