Changed preferred size calculation for PageInfoBubbleView
Calculation was using only the height part of preferred size while ignoring the width. Depending on situation this might have caused method to return size that was either too small or too big. There is no visible bug in Chromium because this method is called multiple times and width returned from CalculatePreferredSize is later set to be the same value. Change-Id: I573ea709bb2f3fdadaa36cf71e8bddbe80ec3f32 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2056823Reviewed-by:Emily Stark <estark@chromium.org> Commit-Queue: Wojciech Dzierżanowski <wdzierzanowski@opera.com> Cr-Commit-Position: refs/heads/master@{#743069}
Showing
Please register or sign in to comment