[LayoutNG] Add DCHECK for when line breaker goes infinite loop
This patch adds a DCHECK to detect when |NGLineBreaker| goes infinite loop by |HandleOverflow()|, |Rewind()|, but failed to find appropriate secondary break point and |Rewind()| to the same point again and again. Change-Id: I9963fb5252f61fcfd0e5d768da8a4968f1f7c9e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1801474Reviewed-by:Emil A Eklund <eae@chromium.org> Commit-Queue: Emil A Eklund <eae@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#696740}
Showing
Please register or sign in to comment