Adding ability to account for rounding in YGNodeCanUseCachedMeasurement

Summary: We want to be able to use YGConfig to account for possible rounding of width/height

Reviewed By: emilsjolander

Differential Revision: D5059560

fbshipit-source-id: d729e991758a8c668a4b373105b71337961875cd
This commit is contained in:
Georgiy Kassabli
2017-05-15 06:18:24 -07:00
committed by Facebook Github Bot
parent b2b0c7ee37
commit adad054cad
2 changed files with 33 additions and 25 deletions

View File

@@ -111,7 +111,8 @@ WIN_EXPORT bool YGNodeCanUseCachedMeasurement(const YGMeasureMode widthMode,
const float lastComputedWidth,
const float lastComputedHeight,
const float marginRow,
const float marginColumn);
const float marginColumn,
YGConfigRef config);
WIN_EXPORT void YGNodeCopyStyle(const YGNodeRef dstNode, const YGNodeRef srcNode);