[FragmentItem] Fix use-of-uninitialized-value
This patch fixes an use-of-uninitialized-value accidentally introduced in r746511 <crrev.com/c/2079775>. |is_hanging_| is initialized and should be used only for |NGPhysicalLineBoxFragment|. The CL passes |is_hanging_| as an argument for this purpose, but the function mistakenly uses it in the super class, instead of using the one passed by the argument. Bug: 982194 Change-Id: I3b33595fa0305f92408914b9ac77d15fbccb9d27 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2086456Reviewed-by:Kent Tamura <tkent@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#746664}
Showing
Please register or sign in to comment