DescriptionMake TextIterator constructor to take only proper range
This patch makes |TextIterator| constructor to take only proper range to
simplify code for improve code health.
Note: This patch is passed all tests, but there are some cases to pass
improper range to |TextIterator|. To catch such case and avoid infinite loop,
we use |CHECK()| to make blink crash.
BUG=727537
TEST=n/a; no behavior changes
Review-Url: https://codereview.chromium.org/2912053002
Cr-Commit-Position: refs/heads/master@{#475819}
Committed: https://chromium.googlesource.com/chromium/src/+/984f4b2c4df57ae840917a1d79f95a54e68e2c7b
Patch Set 1 : 2017-05-30T16:49:03 #Patch Set 2 : 2017-05-31T12:36:26 #Messages
Total messages: 17 (13 generated)
|