Addressing comments on code review: Updates markLayoutApplied->markLayoutSeen and makes sure whenever we dirty if and only if we update a value.

This commit is contained in:
Andy Street
2014-10-08 15:42:51 -07:00
parent a22dedfc2f
commit 3d91ccf7ad
4 changed files with 144 additions and 90 deletions

View File

@@ -8,7 +8,8 @@ import org.junit.Test;
*/
public class LayoutEngineTest {
private static CSSNode.MeasureFunction sTestMeasureFunction = new CSSNode.MeasureFunction() {
private static final CSSNode.MeasureFunction sTestMeasureFunction =
new CSSNode.MeasureFunction() {
@Override
public void measure(CSSNode node, float width, MeasureOutput measureOutput) {