DescriptionRemove MarkupAccumulator::appendNodeValue() method
Remove MarkupAccumulator::appendNodeValue() method and merge it into
MarkupAccumulator::appendText() as this is the only caller. Now that we know
the Node is actually a Text node, update the implementation to call
CharacterData::data() instead of Node::nodeValue() which is virtual.
Also update CharacterData::data() to return a const reference to avoid
unnecessary ref churn on the String.
R=esprehn, abarth
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165154
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|