Reorganize the maintenance of several text node related members in TextIterator
Some members of TextIterator are used only by text node related functions, but
are initialized/reset at multiple places in the class. This patch reorganizes
them so that they are maintained solely by text node related functions/code.
- offset_
- handled_first_letter_
- first_letter_text_
BUG=721957
TEST=n/a; shouldn't have any behavioral change
Review-Url: https://codereview.chromium.org/2896023003
Cr-Original-Commit-Position: refs/heads/master@{#475231}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2d8f80cfe9a0069c01a44d3f209b69e5186da2fc
1 file changed