From d8e770bfd00ec63a123a7791dcb7d440fc2cc33a Mon Sep 17 00:00:00 2001 From: Valentin Shergin Date: Mon, 14 Sep 2020 15:11:03 -0700 Subject: [PATCH] Fabric: Removed unused code from ShadowTree Summary: This is dead code. Changelog: [Internal] Fabric-specific internal change. Reviewed By: JoshuaGross Differential Revision: D23681510 fbshipit-source-id: d2d1f7f97921401308badc417479d11588556ef8 --- ReactCommon/react/renderer/mounting/ShadowTree.h | 5 ----- 1 file changed, 5 deletions(-) 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;