DescriptionMake VisiblePosition::characterAfter() not to use Position::containerText()
This patch changes |VisiblePosition::characterAfter()| not to use
|Position::containerText()| by using |toText()| to avoid redundant call
of |Position::containerNode()| and |Position::containerText()| for improving
code health.
This patch is a preparation of templatizing |VisiblePosition| and getting rid
of |Position::containerText()|.
BUG=513568
TEST=n/a; no behavior changes
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199932
Patch Set 1 : 2015-08-03T16:38:30 #
Total comments: 2
Patch Set 2 : 2015-08-04T10:45:01 #Messages
Total messages: 8 (2 generated)
|