Remove unused YGNode::*nextChild

Summary: This linked list was never used, and YGNodeDeepClone was doing scary things to maintain it.

Reviewed By: davidaurelio

Differential Revision: D8792864

fbshipit-source-id: c578fabe65c837f0791aa9ac3e18f31d93691abd
This commit is contained in:
Scott Wolchok
2018-07-11 08:51:31 -07:00
committed by Facebook Github Bot
parent 765bb85d1e
commit 9ceed4b601
3 changed files with 0 additions and 21 deletions

View File

@@ -275,10 +275,6 @@ static YGNodeRef YGNodeDeepClone(YGNodeRef oldNode) {
node->setConfig(YGConfigClone(*(oldNode->getConfig())));
}
if (oldNode->getNextChild() != nullptr) {
node->setNextChild(YGNodeDeepClone(oldNode->getNextChild()));
}
return node;
}