updated css-layout and fixed callsites

Summary:
This diff pulls in my changes to css-layout algorithm. (The change: https://github.com/facebook/css-layout/pull/154)
This is a breaking change, since it adds a new `height` parameter to all measure functions.

So I've fixed all existing implementations just by adding a new unused parameter `height` - it's up to owners of these functions whether they want to use it or not.

Reviewed By: foghina

Differential Revision: D2757965
This commit is contained in:
Martin Kralik 2015-12-15 04:48:45 -08:00 committed by Ahmed El-Helw
parent 4fb42be0a1
commit 0d042c2ef4
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ import com.facebook.react.uimanager.ViewProps;
}
@Override
public void measure(CSSNode node, float width, MeasureOutput measureOutput) {
public void measure(CSSNode node, float width, float height, MeasureOutput measureOutput) {
CharSequence text = getText();
if (TextUtils.isEmpty(text)) {