[LayoutNG] Reference the canonical text in offset mapping
This patch adds a reference to the canonical text in offset mapping, so that we don't need to make a detour to NGInlineNode when working on both offset mapping and canonical text. This patch is a preparation for adding NG version of LayoutText::ContainsCaretOffset(). Bug: 771398 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I8cf035c44ab90452819d92b91e7853b848781a41 Reviewed-on: https://chromium-review.googlesource.com/724286Reviewed-by:Emil A Eklund <eae@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#509930}
Showing
Please register or sign in to comment