Resolve some differences between CSSNode and CSSNodeJNI

Summary: This diff resolves some differences in behaviour between jni and java css nodes. This ensures certain test cases pass with both implementations.

Reviewed By: lucasr

Differential Revision: D3960755

fbshipit-source-id: 3e13a9435208851a96a619c07625ef2a5402f5ec
This commit is contained in:
Emil Sjolander
2016-10-07 05:15:59 -07:00
committed by Facebook Github Bot
parent 01115b8bbd
commit 56279110c0
2 changed files with 7 additions and 0 deletions

View File

@@ -649,5 +649,6 @@ public class CSSNode implements CSSNodeAPI<CSSNode> {
layout.resetResult();
lineIndex = 0;
mLayoutState = LayoutState.DIRTY;
mMeasureFunction = null;
}
}