Bug 256085
| Summary: | [Memory] Re-order FontSizeAdjust members to remove some padding | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matthieu Dubet <m_dubet> |
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Matthieu Dubet
Current layout is:
+0 < 12> WebCore::FontSizeAdjust
+0 < 1> WebCore::FontSizeAdjust::Metric metric
+1 < 3> <PADDING: 3 bytes>
+4 < 4> WTF::Markable<float, WebCore::FloatMarkableTraits> value
+4 < 4> float m_value
+8 < 1> bool isFromFont
+9 < 3> <PADDING: 3 bytes>
Total byte size: 12
Total pad bytes: 6
Padding percentage: 50.00 %
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/108652215>
Matthieu Dubet
Pull request: https://github.com/WebKit/WebKit/pull/13268
EWS
Committed 263504@main (30d90238fd84): <https://commits.webkit.org/263504@main>
Reviewed commits have been landed. Closing PR #13268 and removing active labels.