| Summary: | CSSFontFace wastes 59KB of Vector capacity on nytimes.com | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> | ||||
| Component: | CSS | Assignee: | Simon Fraser (smfr) <simon.fraser> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | andersca, commit-queue, mmaxfield, simon.fraser, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Simon Fraser (smfr)
2018-06-15 15:10:04 PDT
Created attachment 342906 [details]
Patch
Comment on attachment 342906 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=342906&action=review > Source/WebCore/css/CSSFontFace.h:187 > + Vector<std::unique_ptr<CSSFontFaceSource>, 0, CrashOnOverflow, 0> m_sources; This declaration is really confusing, it's not at all clear what the zeroes mean. I wonder if it could be made more clear by adding a template alias declaration to Vector.h. Comment on attachment 342906 [details] Patch Clearing flags on attachment: 342906 Committed r233014: <https://trac.webkit.org/changeset/233014> All reviewed patches have been landed. Closing bug. |