DescriptionMoved element style recalc count and stats to StyleEngine.
There are two element style recalc counters, one in Document, and one
in StyleResolver. The one in StyleResolver includes pseudo elements in
that count. We are unifying thesie counts keeping pseudo elements
included which means that the element recalc count will be higher for
tracing and the inspector, but unchanged for
internals.updateStyleAndReturnAffectedElementCount().
Also the StyleResolverStats is moved from StyleResolver to StyleEngine.
This means the stats will survive a clearResolver().
This change is motivated around item 6 and 9 in the design document for
crbug.com/401359.
R=dstockwell@chromium.org
BUG=401359
Committed: https://crrev.com/d39fd545c08c6e83fe2de7e1134d0f75f10c0b25
Cr-Commit-Position: refs/heads/master@{#372045}
Patch Set 1 #Messages
Total messages: 12 (4 generated)
|