mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix Yoga cherry-pick issues
This commit is contained in:
@@ -205,7 +205,7 @@ void YGNodeToString(
|
||||
}
|
||||
appendFormatedString(str, ">");
|
||||
|
||||
const uint32_t childCount = static_cast<uint32_t>(node->getChildren().size());
|
||||
const uint32_t childCount = static_cast<uint32_t>(node->children.size());
|
||||
if (options & YGPrintOptionsChildren && childCount > 0) {
|
||||
for (uint32_t i = 0; i < childCount; i++) {
|
||||
appendFormatedString(str, "\n");
|
||||
|
||||
@@ -471,7 +471,7 @@ YGNodeRef YGNodeGetParent(const YGNodeRef node) {
|
||||
}
|
||||
|
||||
uint32_t YGNodeGetChildCount(const YGNodeRef node) {
|
||||
return static_cast<uint32_t>(node->getChildren().size());
|
||||
return static_cast<uint32_t>(node->children.size());
|
||||
}
|
||||
|
||||
void YGNodeMarkDirty(const YGNodeRef node) {
|
||||
|
||||
Reference in New Issue
Block a user