mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-07 22:40:55 +08:00
Rename YogaNode.parent -> YogaNode.owner
Reviewed By: priteshrnandgaonkar Differential Revision: D7352778 fbshipit-source-id: dcf1af5e72bfc3063b5c4bda197d7952a9194768
This commit is contained in:
committed by
Facebook Github Bot
parent
aff5a75d8e
commit
29ff30c539
@@ -301,7 +301,7 @@ public class ReactShadowNodeImpl implements ReactShadowNode<ReactShadowNodeImpl>
|
||||
+ "')");
|
||||
}
|
||||
// TODO: T26729293 This is a temporary code that will be replaced as part of T26729293.
|
||||
YogaNode parent = childYogaNode.getParent();
|
||||
YogaNode parent = childYogaNode.getOwner();
|
||||
if (parent != null) {
|
||||
for (int k = 0; k < parent.getChildCount(); k++) {
|
||||
if (parent.getChildAt(k) == childYogaNode) {
|
||||
|
||||
Reference in New Issue
Block a user