Textarea: Remove unnecessary code for non-last BRs
ValueWithHardLineBreaks() assumes InnerEditor elements don't contain <br>s other than the last child. DCHECK()s check the assumption, and don't need to emit LFs for non-last <br>s. This CL should not change any behavior. Change-Id: Ifed37f35e01fb34c95c31d966066c25a86cdce81 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462742 Auto-Submit: Kent Tamura <tkent@chromium.org> Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#815481}
Showing
Please register or sign in to comment