mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
xplat/js/react-native-github/packages/react-native/ReactCommon/react/renderer/mounting/Differentiator.cpp (#53412)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53412 Changelog: [General][Internal] - Encapsulated internal class into anonymous namespace to ensure no collisions with public symbols. Differential Revision: D80689084 fbshipit-source-id: 53ebd8a16a3c217efead0bfe91f66bd50bb6dd2f
This commit is contained in:
1 parent
a2a73739d8
commit
ffe52b75a3
1 file changed
+4
@@ -126,6 +126,8 @@ static void calculateShadowViewMutations(
|
||||
const CullingContext& oldCullingContext = {},
|
||||
const CullingContext& newCullingContext = {});
|
||||
|
||||
namespace {
|
||||
|
||||
struct OrderedMutationInstructionContainer {
|
||||
ShadowViewMutation::List createMutations{};
|
||||
ShadowViewMutation::List deleteMutations{};
|
||||
@@ -136,6 +138,8 @@ struct OrderedMutationInstructionContainer {
|
||||
ShadowViewMutation::List destructiveDownwardMutations{};
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
static void updateMatchedPairSubtrees(
|
||||
ViewNodePairScope& scope,
|
||||
OrderedMutationInstructionContainer& mutationContainer,
|
||||
|
||||
Reference in new issue
Block a user