Chromium Code Reviews
DescriptionPrune CreateVisiblePositionDeprecated from Editor::canDeleteRange
Editor::canDeleteRange tries to create VisiblePositions when called with
a collapsed range, but the function is only called with a non-collapsed
range. This patch simply removes the dead code for handling collapsed
range and get rid of the creation of VisiblePositions.
BUG=647219
Committed: https://crrev.com/0a91d0e81b21800a4c603fb46db2b7648c11ffda
Cr-Commit-Position: refs/heads/master@{#419712}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address comments #
Dependent Patchsets: Messages
Total messages: 18 (12 generated)
|
|||||||||||||||||||