Remove the use of YGUnwrapOptional from YGConstrainedMaxSizeForMode
Summary: Remove the use of YGUnwrapOptional from YGConstrainedMaxSizeForMode Reviewed By: emilsjolander Differential Revision: D7322743 fbshipit-source-id: d825c60bcdc9ecdc0c784a215dc6b1b8a7a7860e
This commit is contained in:
committed by
Facebook Github Bot
parent
08743a42e2
commit
bb139d3f91
@@ -167,6 +167,7 @@ float YGNode::getTrailingMargin(
|
||||
widthSize));
|
||||
}
|
||||
|
||||
// TODO: Make its return type to YGFloatOptional
|
||||
float YGNode::getMarginForAxis(
|
||||
const YGFlexDirection axis,
|
||||
const float widthSize) const {
|
||||
|
Reference in New Issue
Block a user