From f3415418998c567ec01fc85e9c4a4c9492200bb7 Mon Sep 17 00:00:00 2001 From: Valentin Shergin Date: Fri, 7 Sep 2018 21:44:20 -0700 Subject: [PATCH] Fabric: Simplified `RootShadowNode` instantiation Summary: @public Trivial. `children = ShadowNode::emptySharedShadowNodeSharedList()` is already a default. Reviewed By: rsnara Differential Revision: D9650218 fbshipit-source-id: ad5c17776866b1dc800f68b0a54b9ac3f70de3f6 --- ReactCommon/fabric/uimanager/ShadowTree.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/ReactCommon/fabric/uimanager/ShadowTree.cpp b/ReactCommon/fabric/uimanager/ShadowTree.cpp index 1460620d4..a0c0112f5 100644 --- a/ReactCommon/fabric/uimanager/ShadowTree.cpp +++ b/ReactCommon/fabric/uimanager/ShadowTree.cpp @@ -25,7 +25,6 @@ ShadowTree::ShadowTree(Tag rootTag): .rootTag = rootTag, .props = RootShadowNode::defaultSharedProps(), .eventEmitter = noopEventEmitter, - .children = ShadowNode::emptySharedShadowNodeSharedList(), }, nullptr );