Description[reland] SegmentedString::push() should always push a char in front
Reland: Fixed "notEnoughCharacters" not initialized.
Before this CL, SegmentedString::push() had an exotic behavior, where
two consecutive push would swap its order.
This CL changes the push() implementation so that it would always push
the new char in front of the SegmentedString.
This CL also updates the HTMLEntityParser code which relied on the behavior.
BUG=None
TEST={SegmentedStringTest,HTMLEntityParserTest}.*
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201294
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201369
Patch Set 1 #Patch Set 2 : Adding CORE_EXPORT per tasak@ suggestion #
Total comments: 1
Patch Set 3 : fix test / accept yosin@ suggestion #
Messages
Total messages: 21 (9 generated)
|