Remove YGNodeMarkDirtyAndPropagateToDescendants
(#1448)
Summary: X-link: https://github.com/facebook/react-native/pull/41305 Pull Request resolved: https://github.com/facebook/yoga/pull/1448 This should not be part of Yoga's API. If benchmarks want to do this, they still can (though I don't know the ones we have for it are super valuable). Reviewed By: javache Differential Revision: D50963933 fbshipit-source-id: 6482bd269928188b6469a358ffde5c4f9f5f9527
This commit is contained in:
committed by
Facebook GitHub Bot
parent
283e3203f6
commit
9eb8a62739
@@ -640,13 +640,6 @@ void Node::markDirtyAndPropagate() {
|
||||
}
|
||||
}
|
||||
|
||||
void Node::markDirtyAndPropagateDownwards() {
|
||||
isDirty_ = true;
|
||||
for_each(children_.begin(), children_.end(), [](Node* childNode) {
|
||||
childNode->markDirtyAndPropagateDownwards();
|
||||
});
|
||||
}
|
||||
|
||||
float Node::resolveFlexGrow() const {
|
||||
// Root nodes flexGrow should always be 0
|
||||
if (owner_ == nullptr) {
|
||||
|
Reference in New Issue
Block a user