Add |NGPhysicalBoxFragment::IsOutlineOwner|
This patch adds |NGPhysicalBoxFragment::IsOutlineOwner|, by moving the logic from a static function in |NGOutlineUtils|. By exposing the |InlineContainerFragmentIfOutlineOwner|, |AddOutlineRectsForInlineBox| no longer needs to traverse all fragments. Instead, it now creates an |NGInlineCursor| only for the container fragment. This patch has no behavior changes. Bug: 1145048 Change-Id: Ia4a084d5708d870a38800bed3494bcd869daf175 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567842 Auto-Submit: Koji Ishii <kojii@chromium.org> Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:
Kent Tamura <tkent@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#832693}
Showing
Please register or sign in to comment