From b02d516d7cb24da38f839456942f99aed47b3d02 Mon Sep 17 00:00:00 2001 From: Samuel Susla Date: Tue, 17 Dec 2019 03:38:03 -0800 Subject: [PATCH] Fabric: fix order of arguments for ShadowNodeFragment Summary: Changelog: [Internal] Reviewed By: shergin Differential Revision: D19109689 fbshipit-source-id: 6c7b477324376e95dac1c381e339a23f261a0d60 --- ReactCommon/fabric/uimanager/ComponentDescriptorRegistry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactCommon/fabric/uimanager/ComponentDescriptorRegistry.cpp b/ReactCommon/fabric/uimanager/ComponentDescriptorRegistry.cpp index d2b6cc8421be22..1c53384f986183 100644 --- a/ReactCommon/fabric/uimanager/ComponentDescriptorRegistry.cpp +++ b/ReactCommon/fabric/uimanager/ComponentDescriptorRegistry.cpp @@ -177,7 +177,7 @@ SharedShadowNode ComponentDescriptorRegistry::createNode( auto const props = componentDescriptor.cloneProps(nullptr, RawProps(propsDynamic)); auto const state = componentDescriptor.createInitialState( - ShadowNodeFragment{surfaceId, tag, props, eventEmitter}); + ShadowNodeFragment{tag, surfaceId, props, eventEmitter}); return componentDescriptor.createShadowNode({ /* .tag = */ tag,