Restructure nested `if` blocks in |PaintObject|
This patch restructures nested `if` blocks in |NGBoxFragmentPainter::PaintObject| to reduce the duplicated code, by checking |paint_phase| first. This makes it easier to add the support for fragment items. There is no behavior changes by this change. Bug: 982194 Change-Id: I8b50db590a729245d647093dc00695fd3db9835a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1903235Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#713396}
Showing
Please register or sign in to comment