Fabric: Removed unused copy constructor YogaLayoutableShadowNode()

Summary: Trivial. We don't use it, and it shouldn't be exist by desing.

Reviewed By: mdvacca

Differential Revision: D7376351

fbshipit-source-id: 22f03af2b3596c274a22bab1fab6d8af854a7374
This commit is contained in:
Valentin Shergin 2018-03-25 22:43:28 -07:00 committed by Facebook Github Bot
parent 53782eafc9
commit 1bb6db36be
2 changed files with 0 additions and 8 deletions

View File

@ -31,13 +31,6 @@ SharedYogaConfig YogaLayoutableShadowNode::suitableYogaConfig() {
return sharedYogaConfig;
}
YogaLayoutableShadowNode::YogaLayoutableShadowNode() {
auto yogaNode = std::make_shared<YGNode>();
yogaNode->markDirtyAndPropogate();
yogaNode->setConfig(suitableYogaConfig().get());
yogaNode->setContext(this);
yogaNode_ = yogaNode;
}
YogaLayoutableShadowNode::YogaLayoutableShadowNode(
const SharedYogaStylableProps &props,

View File

@ -40,7 +40,6 @@ class YogaLayoutableShadowNode:
public:
#pragma mark - Constructors
YogaLayoutableShadowNode();
YogaLayoutableShadowNode(
const SharedYogaStylableProps &props,