SegmentedString::push() should always push a char in front
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}.* Review URL: https://codereview.chromium.org/1308573006 git-svn-id: svn://svn.chromium.org/blink/trunk@201294 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment