[FragmentItem] Prepare to remove NGLogicalLineItem::fragment_item for Ruby
This patch changes |ComputeAnnotationOverflow| to not to use |fragment_item| to compute the block height of ruby runs. This is needed for crrev.com/c/2216133 to remove |NGLogicalLineItem::fragment_item|. Its replacement should be |inline_item|, but this patch doesn't add it because all ruby runs should have |layout_result| and shouldn't need |inline_item|. Bug: 982194, 1069817 Change-Id: I40a0670121499bd212ca95ba3e2680a9b0f292de Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2217672Reviewed-by:Kent Tamura <tkent@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#772546}
Showing
Please register or sign in to comment