mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove YogaNode.create() from the abstract class
Summary: Remove YogaNode.create() from the abstract class after we made sure nothing uses it anymore This is the final stage to make `YogaNode` a pure class without JNI references Reviewed By: SidharthGuglani Differential Revision: D17280571 fbshipit-source-id: bd0eb138f7a6a9de8988fc0a7b90badbf635dac5
This commit is contained in:
committed by
Facebook Github Bot
parent
1c1896f6eb
commit
97607ff175
@@ -9,14 +9,6 @@ package com.facebook.yoga;
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
public abstract class YogaNode {
|
||||
public static YogaNode create() {
|
||||
return new YogaNodeJNIFinalizer();
|
||||
}
|
||||
|
||||
public static YogaNode create(YogaConfig config) {
|
||||
return new YogaNodeJNIFinalizer(config);
|
||||
}
|
||||
|
||||
public abstract void reset();
|
||||
|
||||
public abstract int getChildCount();
|
||||
|
||||
Reference in New Issue
Block a user