Skip to content

Commit adc0934

Browse files
sammy-SCmeta-codesync[bot]
authored andcommitted
rename managedProps to getManagedProps (#54648)
Summary: Pull Request resolved: #54648 changelog: [internal] rename method name for consistency. Reviewed By: lenaic Differential Revision: D87778184 fbshipit-source-id: 2d231bee762536f65104414d2bb73ea7a8a48081
1 parent cf6de77 commit adc0934

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/react-native/ReactCommon/react/renderer/animated/NativeAnimatedNodesManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ bool NativeAnimatedNodesManager::onAnimationFrame(double timestamp) {
796796
return commitProps();
797797
}
798798

799-
folly::dynamic NativeAnimatedNodesManager::managedProps(
799+
folly::dynamic NativeAnimatedNodesManager::getManagedProps(
800800
Tag tag) const noexcept {
801801
std::lock_guard<std::mutex> lock(connectedAnimatedNodesMutex_);
802802
if (const auto iter = connectedAnimatedNodes_.find(tag);

packages/react-native/ReactCommon/react/renderer/animated/NativeAnimatedNodesManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class NativeAnimatedNodesManager {
179179

180180
void updateNodes(const std::set<int> &finishedAnimationValueNodes = {}) noexcept;
181181

182-
folly::dynamic managedProps(Tag tag) const noexcept;
182+
folly::dynamic getManagedProps(Tag tag) const noexcept;
183183

184184
bool hasManagedProps() const noexcept;
185185

packages/react-native/ReactCommon/react/renderer/animated/internal/AnimatedMountingOverrideDelegate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ AnimatedMountingOverrideDelegate::pullTransaction(
4040
for (const auto& mutation : mutations) {
4141
if (mutation.type == ShadowViewMutation::Update) {
4242
const auto tag = mutation.newChildShadowView.tag;
43-
auto props = animatedManager_->managedProps(tag);
43+
auto props = animatedManager_->getManagedProps(tag);
4444
if (!props.isNull()) {
4545
animatedManagedProps.insert({tag, std::move(props)});
4646
}

0 commit comments

Comments
 (0)