DescriptionUse EphmeralRange insteadof Range in CompositeEditCommands::isNodeVisiblyContainedWithin()
Change in ApplyStyleCommand.cpp is subtle:
1. |range| is only used in if close to call isNode.. so move it into
the close and make it const.
2. Range is often created where |start| > |end|. We permit create the constructor
EphemeralRange(Range) with such Range but not permit
constructing EphemeralRange(start, end).
However isNode.. always returns false such |range|. Then check it early in
if conditional.
BUG=388681
Patch Set 1 #Patch Set 2 : update #
Total comments: 1
Messages
Total messages: 14 (11 generated)
|