commit | e5da17ed9ca012c47e7980ef258f85d2d782dd79 | [log] [tgz] |
---|---|---|
author | fs <fs@opera.com> | Tue Apr 19 22:36:01 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Apr 19 22:37:41 2016 |
tree | 41e24d69c2696a7fea1a752a5241fa35e44a27ee | |
parent | 4cf6e0c8c2c179eaa6ba02583a2861a2f85ca474 [diff] |
Hoist "layout size changed" check out of SVGLayoutSupport::layoutChildren For LayoutSVGRoot, this predicate can be computed quite easily, so calling layoutSizeOfNearestViewportChanged() will be an unnecessary detour. Also rearrange layoutSizeOfNearestViewportChanged() to avoid an unnecessary virtual call. BUG=603956 Review URL: https://codereview.chromium.org/1902073002 Cr-Commit-Position: refs/heads/master@{#388332}