зеркало из https://github.com/mozilla/gecko-dev.git
f9abbf6ae0
This means that instead of recurring into DoRebuildAllStyleData, we'll call StartRebuildAllStyleData in the middle of processing the restyle queue (which is fine). StartRebuildAllStyleData will move the old rule tree out of the way and immediately do a full-tree restyle, before returning to any queue processing that might be left (the full-tree restyle should have consumed all remaining restyle hints, but might have posted some new ones for handling reframes that require reframing ancestors). And, more importantly, the EndReconstruct() call to get rid of the old rule tree won't happen until after we're done processing the containing RestyleTracker's queue of restyles, which reduces the risk of having dangling old style contexts and makes it easier (in bug 1110277) to have a ReframingStyleContexts with the right lifetime. |
||
---|---|---|
.. | ||
analysis | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |