DescriptionHelper method for non-direct beforeChild in LayoutBlock::addChild().
A lot of what's in LayoutBlock::addChild() will eventually be moved down to
LayoutBlockFlow::addChild(), but both classes are expected to handle insertion
of children before a non-direct beforeChild.
One difference, compared to how it used to work when all of this was inside
addChild(), is that it's no longer allowed to continue if we fail to find a
suitable direct beforeChild replacement. Will always RELEASE_ASSERT() in such
situations now.
BUG=302024
Committed: https://crrev.com/cfc78f790b9ad78c5b3575195f6c16295f09f898
Cr-Commit-Position: refs/heads/master@{#393201}
Patch Set 1 #Patch Set 2 : Fix broken test. Use RELEASE_ASSERT. Back out unnecessary change. #
Total comments: 2
Messages
Total messages: 14 (7 generated)
|