Chromium Code Reviews
Description[LayoutNG] Use NGLogical[Offset|Size] for NGFragment
Replace use of raw LayoutUnits and custom physical to logical conversion
logic in NGFragment and instead expose Size() and Offset() methods using
the NGLogicalOffset and NGLogicalOffset types respectively. This reduces
not only code duplication but also the number of coordinate conversions.
More importantly it limits the use of raw LayoutUnits and the logical vs
physical coordinate ambiguity by using compiler enforced explicit types.
R=ikilpatrick@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_layout_ng
Patch Set 1 #
Total comments: 2
Messages
Total messages: 14 (8 generated)
|