mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
8f283b93ea
Summary: @public `YGNodeComputeFlexBasisForChildren` was using an output parameter (`float&`) that is always initialised to `0.0f`. Here, we move the initialisation inside `YGNodeComputeFlexBasisForChildren`, and simply return the result. Reviewed By: astreet Differential Revision: D13167509 fbshipit-source-id: cbea20e2deb82ec75a1c158b16c94f4a3e5e4c99