mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove cppViewMutation support from FabricMountingManager (#37122)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37122 These are not used anymore. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D45314294 fbshipit-source-id: e4b93e0ebc9ed824ed975ad8486f8f0395605275
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1d75cb6600
commit
daa12dc6d2
+3
-10
@@ -118,8 +118,7 @@ static inline void computeBufferSizes(
|
||||
std::vector<CppMountItem> &cppUpdatePaddingMountItems,
|
||||
std::vector<CppMountItem> &cppUpdateLayoutMountItems,
|
||||
std::vector<CppMountItem> &cppUpdateOverflowInsetMountItems,
|
||||
std::vector<CppMountItem> &cppUpdateEventEmitterMountItems,
|
||||
ShadowViewMutationList &cppViewMutations) {
|
||||
std::vector<CppMountItem> &cppUpdateEventEmitterMountItems) {
|
||||
CppMountItem::Type lastType = CppMountItem::Type::Undefined;
|
||||
int numSameType = 0;
|
||||
for (auto const &mountItem : cppCommonMountItems) {
|
||||
@@ -178,11 +177,6 @@ static inline void computeBufferSizes(
|
||||
cppDeleteMountItems.size(),
|
||||
batchMountItemIntsSize,
|
||||
batchMountItemObjectsSize);
|
||||
|
||||
if (cppViewMutations.size() > 0) {
|
||||
batchMountItemIntsSize++;
|
||||
batchMountItemObjectsSize++;
|
||||
}
|
||||
}
|
||||
|
||||
static inline void writeIntBufferTypePreamble(
|
||||
@@ -278,7 +272,7 @@ void FabricMountingManager::executeMount(
|
||||
std::vector<CppMountItem> cppUpdateLayoutMountItems;
|
||||
std::vector<CppMountItem> cppUpdateOverflowInsetMountItems;
|
||||
std::vector<CppMountItem> cppUpdateEventEmitterMountItems;
|
||||
auto cppViewMutations = ShadowViewMutationList();
|
||||
|
||||
{
|
||||
std::lock_guard allocatedViewsLock(allocatedViewsMutex_);
|
||||
|
||||
@@ -497,8 +491,7 @@ void FabricMountingManager::executeMount(
|
||||
cppUpdatePaddingMountItems,
|
||||
cppUpdateLayoutMountItems,
|
||||
cppUpdateOverflowInsetMountItems,
|
||||
cppUpdateEventEmitterMountItems,
|
||||
cppViewMutations);
|
||||
cppUpdateEventEmitterMountItems);
|
||||
|
||||
static auto createMountItemsIntBufferBatchContainer =
|
||||
JFabricUIManager::javaClassStatic()
|
||||
|
||||
Reference in New Issue
Block a user