commit | fbc553f0671c6123db3b7a840cafbbc44f875981 | [log] [tgz] |
---|---|---|
author | Fredrik Söderquist <fs@opera.com> | Fri Dec 14 09:55:18 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Dec 14 09:55:18 2018 |
tree | 6ad6ead8b1c8439c730ef4a62cd4426bb5eeb659 | |
parent | 1afdba04d3d8c9bb3c14d9d4b1794162c384f8c3 [diff] |
Refactor "needs layout" check in LayoutImage Move the conditions used to check if layout is needed when the intrinsic size changes out into a new function, and call that from LayoutImage::InvalidatePaintAndMarkForLayoutIfNeeded. Replace open-coded HasRelativeLogicalWidth() with a call to that method. Bug: 870599 Change-Id: Iae480326083eb493d58233378d95af8c1dd62f0a Reviewed-on: https://chromium-review.googlesource.com/c/1373839 Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#616624}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .