Reset java state in jni reset method

Summary: This state was never reset when we switched to doing reset in C instead of re-allocating.

Differential Revision: D4081049

fbshipit-source-id: 0b9ad70339ad906ad5219ad2679329cfe2fd7abc
This commit is contained in:
Emil Sjolander
2016-10-26 07:24:44 -07:00
committed by Facebook Github Bot
parent 1ba81d9ec7
commit c34299edc9
2 changed files with 7 additions and 0 deletions

View File

@@ -72,6 +72,10 @@ public class CSSNode implements CSSNodeAPI<CSSNode> {
mHasSetMargin = false;
mHasSetBorder = false;
mHasSetPosition = false;
mMeasureFunction = null;
mData = null;
jni_CSSNodeReset(mNativePointer);
}