Stop storing NGInlineItemResult in NGLogicalLineItem
Because |NGLogicalLineItem| can live longer than |NGInlineItemResult|, the pointer may become stale. Instead, this patch changes |NGLogicalLineItem| to copy necessary data from |NGInlineItemResult|. This is to prepare for vectorizing |NGFragmentItem|, by allowing to defer creating |NGFragmentItem| to after |NGInlineItemResult| is destroyed. This patch has no behavior changes. Bug: 982194 Change-Id: Idfad9fe4d4421ddd76b2348e6c17e50e327911a2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2212187Reviewed-by:Kent Tamura <tkent@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#771489}
Showing
Please register or sign in to comment