Remove useless store in CSSLayout.c
Reviewed By: emilsjolander Differential Revision: D4159938 fbshipit-source-id: 8b9ff3896c0e222e8e89546881129214bc6ba566
This commit is contained in:
Родитель
c9c8e5ca32
Коммит
5aad13b691
|
@ -1939,12 +1939,10 @@ static void layoutNodeImpl(const CSSNodeRef node,
|
|||
|
||||
if (!CSSValueIsUndefined(child->style.maxDimensions[CSSDimensionWidth])) {
|
||||
childWidth = child->style.maxDimensions[CSSDimensionWidth];
|
||||
childWidthMeasureMode = CSSMeasureModeAtMost;
|
||||
}
|
||||
|
||||
if (!CSSValueIsUndefined(child->style.maxDimensions[CSSDimensionHeight])) {
|
||||
childHeight = child->style.maxDimensions[CSSDimensionHeight];
|
||||
childHeightMeasureMode = CSSMeasureModeAtMost;
|
||||
}
|
||||
|
||||
// If the child defines a definite size for its cross axis, there's
|
||||
|
|
Загрузка…
Ссылка в новой задаче