[LayoutNG] Make LayoutText to associate to proper NGInlineItem objects
This patch changes |NGInlineNode::AssociateItemsWithInlines()| to associate |NGInlineItem| to |LayoutText| correctly by skipping |NGInlineItem| without layout object. Before this patch, |LayoutText| is assocaited |NGIninlineItem| objects after the |NGIninlineItem.layout_object == nullptr|. This patch is a preparation of the patch[1]. [1] http://crrev.com/c/1309562 Make Element#innterText to utilize NGInlineItem instead of NGPaintFragment Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I41f16ea13ca1e0641cb2a42331d64fa2cd6387ac Reviewed-on: https://chromium-review.googlesource.com/c/1317217 Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#605592}
Showing
Please register or sign in to comment