Revert of SegmentedString::push() should always push a char in front (patchset...
Revert of SegmentedString::push() should always push a char in front (patchset #2 id:20001 of https://codereview.chromium.org/1308573006/ ) Reason for revert: HTMLEntityParserTest.ConsumeHTMLEntityIncomplete fails on two Win bots The newly added test is failing on WebKit Win7 (dbg) and WebKit Win Oilpan (dbg) with the following message: [ RUN ] HTMLEntityParserTest.ConsumeHTMLEntityIncomplete ASSERTION FAILED: !notEnoughCharacters Sorry for the revert! Full output @ http://goo.gl/tnYH67 Original issue's description: > 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}.* > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201294 TBR=tasak@google.com,tzik@chromium.org,tkent@chromium.org,yosin@chromium.org,kouhei@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=None Review URL: https://codereview.chromium.org/1311043004 git-svn-id: svn://svn.chromium.org/blink/trunk@201318 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment