DescriptionMark calls of {previous,next}PositionOf with invalid VisiblePosition deprecated
This patch marks functions {previous,next}PositionOf in VisibleUnits.cpp
deprecated because they take invalid VisiblePositions as input. This patch
also creates the non-deprecated versions of these functions that requires
valid VisiblePositions as input.
Callers passing invalid VisiblePositions have been switched to using the
deprecated functions. Calls in other places have ensured valid VisiblePositions
as input, and hence, are calling the non-deprecated functions after this patch.
BUG=648949
Committed: https://crrev.com/4ebc66c03af35f9294189171d84ebf7c4ba348a3
Cr-Commit-Position: refs/heads/master@{#421414}
Patch Set 1 #Patch Set 2 : Rebased #
Total comments: 4
Patch Set 3 : Prevent code copying #
Messages
Total messages: 24 (17 generated)
|