Description[Layout API] Add LayoutItem.isBR() and use from editing/VisibleUnits
As far as I can tell, we don't need a whole LayoutBRItem class to proxy
specific methods from LayoutBR, but we do need an isBR() method on the
ancestor LayoutItem so we can call it from places that currently call
LayoutObject*->isBR(). One example of this is in editing/VisibleUnits.
There are no functional changes.
BUG=499321
TBR=leviw@chromium.org
Committed: https://crrev.com/943ae70d508af56a2aaafeaf855e7f0e6c717403
Cr-Commit-Position: refs/heads/master@{#381970}
Patch Set 1 #
Messages
Total messages: 8 (4 generated)
|