Refactor RecalcInkOverflow to take |const NGInlineCursor&|
This patch refactors |NGFragmentItem::RecalcInkOverflow| to take |const NGInlineCursor&| instead of |NGInlineCursor*|. With this refactoring, it is callers' responsibility to advance the cursor. This is to prepare using this function for self-painting |LayoutInline|. This patch has no behavior changes. Bug: 1128199 Change-Id: Iee1964255f5d1c31b4d3cf4e1bb73b6c4b50f327 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2426213Reviewed-by:Kent Tamura <tkent@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#810173}
Showing
Please register or sign in to comment