moved all yoga node jni batching code to YogaNodeJNIBase and removed subclasses
Summary: Removed classes YogaNodeJNI and YogaNodeJNIBatching and all the logic have been moved to base class Reviewed By: davidaurelio Differential Revision: D16221484 fbshipit-source-id: 830819f5bc6010291b8bc0c6d90897cea991909f
This commit is contained in:
committed by
Facebook Github Bot
parent
838fc3f019
commit
d676d917e3
@@ -10,11 +10,11 @@ import javax.annotation.Nullable;
|
||||
|
||||
public abstract class YogaNode {
|
||||
public static YogaNode create() {
|
||||
return new YogaNodeJNIBatching();
|
||||
return new YogaNodeJNIBase();
|
||||
}
|
||||
|
||||
public static YogaNode create(YogaConfig config) {
|
||||
return new YogaNodeJNIBatching(config);
|
||||
return new YogaNodeJNIBase(config);
|
||||
}
|
||||
|
||||
public abstract void reset();
|
||||
|
Reference in New Issue
Block a user