[TablesNG] Use interface, not layoutobject
Legacy table algorithm looks at the surrounding table. It assumed surrounding table was legacy too, which does not hold in TablesNG. It is only called by Legacy code, and will not be used once TablesNG is done. Because of this, instead of implementing IsLogicalWidthAuto on TableInterface, I just inlined it at call site. LayoutTable: :IsLogicalWidthAuto method belonged to LayoutTable. Change-Id: Ie4e174aeb01e8b6c51587dc8b77819fee4eb981c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1906124 Commit-Queue: Aleks Totic <atotic@chromium.org> Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#714366}
Showing
Please register or sign in to comment