[LayoutNG] Minor clean up in PositionWithParentBfc() & co.
Rename the method to PositionEmptyChildWithParentBfc(), and make it a const method. Also get rid of unused and unimplemented PositionWithBfcOffset(const NGBfcOffset&). Also some fixes in comments and parameter names, and added some comments on my own. Moved a DCHECK(is_empty_block) to also hit when PositionEmptyChildWithParentBfc(), just to be clear about the fact that the block has to be empty at this point. Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I7d171aa40d3f3a5705f7a0126725a7905d37c504 Reviewed-on: https://chromium-review.googlesource.com/955645Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#542197}
Showing
Please register or sign in to comment