[Squad] Allow CustomStyleForLayoutObject() in reattach recalc.
We did not allow recalculating style for reattachment as part of RecalcStyle when we had custom style hooks because some elements had CustomStyleForLayoutObject() methods which depended on parent layout objects. This is no longer true, so we can now always recalc style for re-attachment. That means we'll also need to call custom style hooks WillRecalcStyle/DidRecalcStyle for re-attacment styles as well. Bug: 813057 Change-Id: I403c30e0f9f6934bd96d3da84488a6b3c489a50e Reviewed-on: https://chromium-review.googlesource.com/925702Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#551011}
Showing
Please register or sign in to comment