DescriptionMake EditorCommand to use VisibleSelection::toNormalizedEphemeralRange() instead of toNormalizedRange()
This patch changes |EditorCOmmand| class to use |toNormalizedEphemeralRange()|
in |VisibleSelection| class instead of |toNormalizedRange()| as a preparation
of templatizing |VisibleSelection| to use templatized positions instead of
DOM position to represent range and avoid registering temporary |Range|
object into |Document|.
This patch is a preparation of making selection to handle granularity for web
component, http://crrev.com/1277863002
BUG=388681, 513568
TEST=n/a; no behavior changes
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201127
Patch Set 1 : 2015-08-25T15:39:00 #
Messages
Total messages: 14 (6 generated)
|