[LayoutNG] Let it crash if HandleText does not move forward
One suspect for issue 896456 is where ShapingLineBreaker fails to move offset forward. If this occurs, NGLineBreaker is likely to keep adding NGInlineItemResult of zero-length until all the memory is consumed. This patch turns DCHECK to CHECK to see if it is happening. Change-Id: I8a7355ec32e823e7ab517d2a3754c2fcc2104b3a Bug: 896456 Reviewed-on: https://chromium-review.googlesource.com/c/1304182Reviewed-by:Emil A Eklund <eae@chromium.org> Commit-Queue: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#603647}
Showing
Please register or sign in to comment