Set missing useVanillaJNI in constructor for YogaNode
Summary: set missing useVanillaJNI, it was causing part of the unit-tests to run in fbjni instead of vanillajni. Reviewed By: SidharthGuglani Differential Revision: D17852635 fbshipit-source-id: 5bc187d90fbdc430015be55a015a7d1e0ba0ebc6
This commit is contained in:
committed by
Facebook Github Bot
parent
293b657aef
commit
aa2610c2dd
@@ -61,6 +61,7 @@ public abstract class YogaNodeJNIBase extends YogaNode implements Cloneable {
|
||||
|
||||
YogaNodeJNIBase(boolean useVanillaJNI) {
|
||||
this(useVanillaJNI ? YogaNative.jni_YGNodeNewJNI() : YogaNative.jni_YGNodeNew());
|
||||
this.useVanillaJNI = useVanillaJNI;
|
||||
}
|
||||
|
||||
YogaNodeJNIBase(YogaConfig config) {
|
||||
|
Reference in New Issue
Block a user