Tooling from bug 186698: Wasted capacity: 59000 bytes (used 13320 of 72320 bytes, utilization: 18.42%) - 565 allocations 1 0x107377885 WTF::VectorBuffer<std::__1::unique_ptr<WebCore::CSSFontFaceSource, std::__1::default_delete<WebCore::CSSFontFaceSource> >, 0ul>::VectorBuffer() 2 0x107377865 WTF::Vector<std::__1::unique_ptr<WebCore::CSSFontFaceSource, std::__1::default_delete<WebCore::CSSFontFaceSource> >, 0ul, WTF::CrashOnOverflow, 16ul>::Vector() 3 0x10735c535 WTF::Vector<std::__1::unique_ptr<WebCore::CSSFontFaceSource, std::__1::default_delete<WebCore::CSSFontFaceSource> >, 0ul, WTF::CrashOnOverflow, 16ul>::Vector() 4 0x10735c2f1 WebCore::CSSFontFace::CSSFontFace(WebCore::CSSFontSelector*, WebCore::StyleRuleFontFace*, WebCore::FontFace*, bool) 5 0x10735c63e WebCore::CSSFontFace::CSSFontFace(WebCore::CSSFontSelector*, WebCore::StyleRuleFontFace*, WebCore::FontFace*, bool) 6 0x10736559c WebCore::CSSFontFace::create(WebCore::CSSFontSelector*, WebCore::StyleRuleFontFace*, WebCore::FontFace*, bool) 7 0x10736ccd1 WebCore::CSSFontSelector::addFontFaceRule(WebCore::StyleRuleFontFace&, bool) 8 0x10736c6c9 WebCore::CSSFontSelector::buildCompleted()
<rdar://problem/41173766>
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.