Make CharacterIterator::GetPosition{Before,After}() not to crash with block content
This patch introduces |TextIterator::GetPosition{Before,After}()| as
implementation of |CharacterIterator::GetPosition{Before,After}()| not to crash
with block content.
This is follow-up of the patch[1].
[1] http://crrev.com/c/1021430 Make CharacterIterator::GetPosition{After,Before}()
to work with BR
Change-Id: I0e5aae4cef69d6c1d902cbeb86e8e3552968c280
Reviewed-on: https://chromium-review.googlesource.com/1023502
Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
Reviewed-by:
Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557103}
Showing
Please register or sign in to comment