Abort formatBlock command when SelectionForParagraphIteration() errs
The editing command requires SelectionForParagraphIteration() to figure out the correct paragraph range, which however may fail due to invalid input. This patch makes the command abort so that it doesn't crash the renderer. Bug: 873084 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I86c77903e218ff4b564bce9122315b99896b01ed Reviewed-on: https://chromium-review.googlesource.com/1175244Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#583128}
Showing
Please register or sign in to comment