Move isUndefined check to CSSConstants in java code

This commit is contained in:
Krzysztof Magiera
2014-12-02 22:30:44 +00:00
parent edcc4b5944
commit fbd14263f9
5 changed files with 23 additions and 23 deletions

View File

@@ -21,7 +21,7 @@ public class LayoutEngineTest {
@Override
public void measure(CSSNode node, float width, MeasureOutput measureOutput) {
if (FloatUtil.isUndefined(width)) {
if (CSSConstants.isUndefined(width)) {
width = 10000000;
}