Simplify ContainingBlock()
Move the |object| declaration closer to where it is used, and only call IsLayoutScrollbarPart when we actually use the result. R=eae@chromium.org Change-Id: I058572f2f2a05d97a481293db3f901e55a1773b5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1509462 Auto-Submit: Christian Biesinger <cbiesinger@chromium.org> Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Christian Biesinger <cbiesinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#638768}
Showing
Please register or sign in to comment