Chromium Code Reviews
DescriptionMark paragraph-related functions deprecated in VisibleUnits
This patch marks the following functions in VisibleUnits.cpp deprecated
because they accept invalid VisiblePositions as input:
- startOfParagraph
- endOfParagraph
- isStartOfParagraph
- isEndOfParagraph
- inSameParagraph
- startOfNextParagraph
This patch also creates the non-deprecated versions of these functions
that requires valid VisiblePositions as input.
Calls of these functions in editing/commands/ are switched to 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/58d3e91f04c7eb7847dade2b3f427da26dfd7379
Cr-Commit-Position: refs/heads/master@{#421063}
Patch Set 1 #Patch Set 2 : Exclude EditingUlities from using fooParagraphDeprecated #
Total comments: 4
Patch Set 3 : Add output for DCHECK #Messages
Total messages: 35 (28 generated)
|