Back out "[litho] Adds check to unset a YogaNode's parent during reconciliation."
Summary: Removes `unsetOwner` from Yoga. This was temporarily for patching a crash. Reviewed By: colriot Differential Revision: D15737613 fbshipit-source-id: 8ab93ecf7ffb913df6207fe5db47a8cc93eded2c
This commit is contained in:
committed by
Facebook Github Bot
parent
af219f8836
commit
8ff13c922a
@@ -42,8 +42,6 @@ public abstract class YogaNode {
|
||||
@Nullable
|
||||
public abstract YogaNode getOwner();
|
||||
|
||||
public abstract void unsetOwner();
|
||||
|
||||
/** @deprecated Use #getOwner() instead. This will be removed in the next version. */
|
||||
@Deprecated
|
||||
@Nullable
|
||||
|
@@ -137,11 +137,6 @@ public abstract class YogaNodeJNIBase extends YogaNode implements Cloneable {
|
||||
return mOwner;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void unsetOwner() {
|
||||
mOwner = null;
|
||||
}
|
||||
|
||||
/** @deprecated Use #getOwner() instead. This will be removed in the next version. */
|
||||
@Deprecated
|
||||
@Nullable
|
||||
|
Reference in New Issue
Block a user