mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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
15ecb60d6d
commit
62649d31a4
@@ -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