Get rid of redundant call of EmitEndBlock() in Element#innerText
This patch gets rid of redundant call of |EmitEndBlock()| after calling ProcessChildrenWithRequiredLineBreaks() which calls |EmitEndBlock()| at end of function in |Element#innerText| for improving code health. Since EmitEndBlock() turns |has_collapsible_space_| to false, second call has no effect. Change-Id: I44012380d7335b33f901954ac24a85e9cd4e98b4 Reviewed-on: https://chromium-review.googlesource.com/c/1290058Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:
Yoichi Osato <yoichio@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#601088}
Showing
Please register or sign in to comment