From 5f9a11c7d1697ae053a5715de2aeba72c3bd17fb Mon Sep 17 00:00:00 2001 From: Phillip Pan Date: Mon, 15 May 2023 15:05:16 -0700 Subject: [PATCH] delete unused methods on RCTSurfacePresenter (#37440) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37440 Changelog: [Internal] this is not used, remove Reviewed By: javache Differential Revision: D45804534 fbshipit-source-id: 4379680504b867eefefa517faaa1392abd698a26 --- .../React/Fabric/RCTSurfacePresenter.mm | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/packages/react-native/React/Fabric/RCTSurfacePresenter.mm b/packages/react-native/React/Fabric/RCTSurfacePresenter.mm index 77bc364889f..e7aa631d49f 100644 --- a/packages/react-native/React/Fabric/RCTSurfacePresenter.mm +++ b/packages/react-native/React/Fabric/RCTSurfacePresenter.mm @@ -131,19 +131,6 @@ static BackgroundExecutor RCTGetBackgroundExecutor() return _contextContainer; } -- (void)setContextContainer:(ContextContainer::Shared)contextContainer -{ - std::lock_guard lock(_schedulerLifeCycleMutex); - _contextContainer = contextContainer; - _mountingManager.contextContainer = contextContainer; -} - -- (RuntimeExecutor)runtimeExecutor -{ - std::lock_guard lock(_schedulerLifeCycleMutex); - return _runtimeExecutor; -} - - (void)setRuntimeExecutor:(RuntimeExecutor)runtimeExecutor { std::lock_guard lock(_schedulerLifeCycleMutex);