Skip to content

Commit 73b2a0e

Browse files
Replace with ContextContainer::Shared with std::shared_ptr<const Cont… (#7926)
## Summary This existing alias is deprecated now. See: : facebook/react-native#52889 ## Test plan Compilation
1 parent 6b67fcb commit 73b2a0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-native-reanimated/Common/cpp/reanimated/LayoutAnimations/LayoutAnimationsProxy.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ struct LayoutAnimationsProxy
4444
mutable std::unordered_map<Tag, int> leastRemoved;
4545
mutable std::vector<Tag> finishedAnimationTags_;
4646
std::shared_ptr<LayoutAnimationsManager> layoutAnimationsManager_;
47-
ContextContainer::Shared contextContainer_;
47+
std::shared_ptr<const ContextContainer> contextContainer_;
4848
SharedComponentDescriptorRegistry componentDescriptorRegistry_;
4949
jsi::Runtime &uiRuntime_;
5050
const std::shared_ptr<UIScheduler> uiScheduler_;
5151
LayoutAnimationsProxy(
5252
std::shared_ptr<LayoutAnimationsManager> layoutAnimationsManager,
5353
SharedComponentDescriptorRegistry componentDescriptorRegistry,
54-
ContextContainer::Shared contextContainer,
54+
std::shared_ptr<const ContextContainer> contextContainer,
5555
jsi::Runtime &uiRuntime,
5656
const std::shared_ptr<UIScheduler> uiScheduler)
5757
: layoutAnimationsManager_(layoutAnimationsManager),

0 commit comments

Comments
 (0)