Fix Yoga cherry-pick issues

This commit is contained in:
Mike Grabowski
2018-01-26 11:57:40 +01:00
parent 94c5a3412f
commit a7524c27cc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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");
+1 -1
View File
@@ -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) {