Fabric: Simplified `RootShadowNode` instantiation

Summary:
@public
Trivial.
`children = ShadowNode::emptySharedShadowNodeSharedList()` is already a default.

Reviewed By: rsnara

Differential Revision: D9650218

fbshipit-source-id: ad5c17776866b1dc800f68b0a54b9ac3f70de3f6
This commit is contained in:
Valentin Shergin 2018-09-07 21:44:20 -07:00 committed by Facebook Github Bot
parent 1183d82884
commit f341541899
1 changed files with 0 additions and 1 deletions

View File

@ -25,7 +25,6 @@ ShadowTree::ShadowTree(Tag rootTag):
.rootTag = rootTag, .rootTag = rootTag,
.props = RootShadowNode::defaultSharedProps(), .props = RootShadowNode::defaultSharedProps(),
.eventEmitter = noopEventEmitter, .eventEmitter = noopEventEmitter,
.children = ShadowNode::emptySharedShadowNodeSharedList(),
}, },
nullptr nullptr
); );