Modernize GlyphMetricsMap a bit.
Created attachment 283689 [details] Patch
Comment on attachment 283689 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=283689&action=review > Source/WebCore/platform/graphics/GlyphMetricsMap.h:126 > + > + auto& page = m_pages->ensure(pageNumber, [] { > + return std::make_unique<GlyphMetricsPage>(unknownMetrics()); > + }).iterator->value; > + return *page; No need for the local variable: return *m_pages->ensure(pageNumber, [] { return std::make_unique<GlyphMetricsPage>(unknownMetrics()); }).iterator->value;
Comment on attachment 283689 [details] Patch Clearing flags on attachment: 283689 Committed r203262: <http://trac.webkit.org/changeset/203262>
All reviewed patches have been landed. Closing bug.