зеркало из https://github.com/mozilla/gecko-dev.git
90c689bf56
From the "NS_ASSERTION(mFloatManager)" statement in BlockReflowInput's constructor, we know that BlockReflowInput's mFloatManager is always valid and equals to aReflowInput.mFloatManager. Therefore, we could just use ReflowInput's float manager in BlockReflowInput. Due to the removal of BlockReflowInput's mFloatManager, the logic which resets mFloatManager near the end of nsBlockFrame::Reflow() is removed as well. It's safe because beyond that point, no other logic involves floats, and |state| (i.e. BlockReflowInput) lives only on the stack. MozReview-Commit-ID: 3dwXMnWkEI6 --HG-- extra : rebase_source : 7f9af1af10fd54456450b23bc0004dd5f15db4e4 |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |