DescriptionInitiate webfont download right after style recalc
Currently WebFont download is queued during layout, and actual download is
delayed until after layout. This patch makes CSSFontFace::willUseFontData()
enqueue font download, which is called in style calc time. StyleResolver
kicks off font downloads, along with other pending resources.
UMA metrics (WebFont.Resource.StyleRecalcToDownloadLatency) shows
this reduces webfont download latency 114ms at the 50 percentile.
This patch also removes FontResource::FontResourceHistograms as we
collected sufficient data.
BUG=246492
TEST=Covered by existing tests
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162179
Patch Set 1 : #
Total comments: 1
Patch Set 2 : rebase #Patch Set 3 : Fix zoom-zoom-coords.xhtml #
Total comments: 1
Messages
Total messages: 12 (0 generated)
|