Refactor InRenderedText() with LayoutText::ContainsCaretOffset()
This patch refactors InRenderedText() by moving the work on InlineTextBox to LayoutText::ContainsCaretOffset(), so that InRenderedText() no longer works on InlineTextBox directly. A follow-up patch will introduce a LayoutNG version of LayoutText::ContainsCaretOffset(). Bug: 771398 Change-Id: If786ff57cf881869632e72e2347741433f6a4a17 Reviewed-on: https://chromium-review.googlesource.com/721629 Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#509342}
Showing
Please register or sign in to comment