File tree Expand file tree Collapse file tree
packages/react-native/ReactCommon/react/renderer/uimanager Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -469,7 +469,7 @@ void UIManager::setNativeProps_DEPRECATED(
469469 ->getProps (),
470470 RawProps (rawProps));
471471
472- return oldShadowNode.clone ({/* .props = */ .props = props});
472+ return oldShadowNode.clone ({.props = props});
473473 });
474474
475475 return std::static_pointer_cast<RootShadowNode>(rootNode);
@@ -493,15 +493,12 @@ void UIManager::configureNextLayoutAnimation(
493493 const jsi::Value& failureCallback) const {
494494 if (animationDelegate_ != nullptr ) {
495495 animationDelegate_->uiManagerDidConfigureNextLayoutAnimation (
496- runtime,
497- config,
498- std::move (successCallback),
499- std::move (failureCallback));
496+ runtime, config, successCallback, failureCallback);
500497 }
501498}
502499
503500static std::shared_ptr<const ShadowNode> findShadowNodeByTagRecursively (
504- std::shared_ptr<const ShadowNode> parentShadowNode,
501+ const std::shared_ptr<const ShadowNode>& parentShadowNode,
505502 Tag tag) {
506503 if (parentShadowNode->getTag () == tag) {
507504 return parentShadowNode;
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ class UIManager final : public ShadowTreeDelegate {
6868 std::weak_ptr<UIManagerAnimationBackend> unstable_getAnimationBackend ();
6969
7070 /* *
71- * Execute stopSurface on any UIMAnagerAnimationDelegate .
71+ * Execute stopSurface on any UIManagerAnimationDelegate .
7272 */
7373 void stopSurfaceForAnimationDelegate (SurfaceId surfaceId) const ;
7474
@@ -79,9 +79,9 @@ class UIManager final : public ShadowTreeDelegate {
7979 void synchronouslyUpdateViewOnUIThread (Tag tag, const folly::dynamic &props);
8080
8181 /*
82- * Provides access to a UIManagerBindging .
82+ * Provides access to a UIManagerBinding .
8383 * The `callback` methods will not be called if the internal pointer to
84- * `UIManagerBindging ` is `nullptr`.
84+ * `UIManagerBinding ` is `nullptr`.
8585 * The callback is called synchronously on the same thread.
8686 */
8787 void visitBinding (
You can’t perform that action at this time.
0 commit comments