DescriptionAvoid duplicate functions/code in core/editing: kInvalidOffset
While experimenting with unity builds I encountered a few duplicate
symbols and functions in core/editing. This patch renames, moves
and unifies them.
kInvalidOffset is a name used both by PositionIterator and TextIterator.
This renames on of them kInvalidTextOffset to better match its use and
to avoid the name collision.
BUG=708949
R=yosin@chromium.org
Review-Url: https://codereview.chromium.org/2798283002
Cr-Commit-Position: refs/heads/master@{#462428}
Committed: https://chromium.googlesource.com/chromium/src/+/00a3908827f01ca5cd0bd911a7f12239975bee33
Patch Set 1 #
Messages
Total messages: 9 (5 generated)
|