Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the nodes' owners not being updated when
display: contents
is u…
…sed (#47733) Summary: Pull Request resolved: #47733 In facebook/yoga#1729 I moved the cleanup of `display: contents` nodes to happen before all the early returns, but that change also made it be called **before** `cloneChildrenIfNeeded`. It actually needs to be called after `cloneChildrenIfNeeded` to make sure that children of `display: contents` nodes are properly owned. It also needs to be called in every short-path, so it's being called in four places in this PR. Please let me know whether it's ok or not. X-link: facebook/yoga#1743 Reviewed By: NickGerleman Differential Revision: D65953902 Pulled By: zeyap fbshipit-source-id: 0b18a5651f19c23564f5b3aa2a50833426e9ca5f
- Loading branch information