Fieldset NG: Simplify legend offset computation in PaintFieldsetDecorationBackground()
NGFieldsetPainter::PaintFieldsetDecorationBackground() re-computed the legend offset without position:relative from scratch. Instead, this CL change the function so that it unapplies position:relative to |legend->Offset()|. This CL has no behavior changes. Bug: 875235 Change-Id: I933b1e6c97e1f913e0d9f1aa9525af881dbe2240 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2332198 Commit-Queue: Kent Tamura <tkent@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Reviewed-by:
Ian Kilpatrick <ikilpatrick@chromium.org> Auto-Submit: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#794944}
Showing
Please register or sign in to comment