From 74f3ab7d407589d84fbdfb19df35e4f79b103ff1 Mon Sep 17 00:00:00 2001 From: Joe Vilches Date: Tue, 3 Dec 2024 19:16:56 -0800 Subject: [PATCH] Properly camelcase mainAxisownerSize in FlexLine (#48077) Summary: X-link: https://github.com/facebook/yoga/pull/1762 Pull Request resolved: https://github.com/facebook/react-native/pull/48077 OCD strikes again. Grepped this time to make sure we didn't miss any cases for this specific param name Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D66715777 fbshipit-source-id: 3e881a15b3b2836a4a55b11d7ec621541b92a05d --- .../react-native/ReactCommon/yoga/yoga/algorithm/FlexLine.cpp | 4 ++-- .../react-native/ReactCommon/yoga/yoga/algorithm/FlexLine.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/react-native/ReactCommon/yoga/yoga/algorithm/FlexLine.cpp b/packages/react-native/ReactCommon/yoga/yoga/algorithm/FlexLine.cpp index cb5c72891bb7e9..dc0a300add247c 100644 --- a/packages/react-native/ReactCommon/yoga/yoga/algorithm/FlexLine.cpp +++ b/packages/react-native/ReactCommon/yoga/yoga/algorithm/FlexLine.cpp @@ -17,7 +17,7 @@ FlexLine calculateFlexLine( yoga::Node* const node, const Direction ownerDirection, const float ownerWidth, - const float mainAxisownerSize, + const float mainAxisOwnerSize, const float availableInnerWidth, const float availableInnerMainDim, Node::LayoutableChildren::Iterator& iterator, @@ -70,7 +70,7 @@ FlexLine calculateFlexLine( direction, mainAxis, child->getLayout().computedFlexBasis, - mainAxisownerSize, + mainAxisOwnerSize, ownerWidth) .unwrap(); diff --git a/packages/react-native/ReactCommon/yoga/yoga/algorithm/FlexLine.h b/packages/react-native/ReactCommon/yoga/yoga/algorithm/FlexLine.h index 9ec72ea8315abc..3f2ef2f17b2ed9 100644 --- a/packages/react-native/ReactCommon/yoga/yoga/algorithm/FlexLine.h +++ b/packages/react-native/ReactCommon/yoga/yoga/algorithm/FlexLine.h @@ -66,7 +66,7 @@ FlexLine calculateFlexLine( yoga::Node* node, Direction ownerDirection, float ownerWidth, - float mainAxisownerSize, + float mainAxisOwnerSize, float availableInnerWidth, float availableInnerMainDim, Node::LayoutableChildren::Iterator& iterator,