diff --git a/ReactCommon/react/renderer/mounting/ShadowTree.h b/ReactCommon/react/renderer/mounting/ShadowTree.h index 7b216a654a0..ac984fa8fb5 100644 --- a/ReactCommon/react/renderer/mounting/ShadowTree.h +++ b/ReactCommon/react/renderer/mounting/ShadowTree.h @@ -95,11 +95,6 @@ class ShadowTree final { } private: - RootShadowNode::Unshared cloneRootShadowNode( - RootShadowNode::Shared const &oldRootShadowNode, - LayoutConstraints const &layoutConstraints, - LayoutContext const &layoutContext) const; - void emitLayoutEvents( std::vector &affectedLayoutableNodes) const;