Exposing layout cache check publicly
Summary: We need to expose CSSLayout caching check to CKFlexboxComponent to enable performant bridging to CKComponentKit Reviewed By: emilsjolander Differential Revision: D4124705 fbshipit-source-id: 23284967900585fa20dcb51c9cc1bee829b32975
This commit is contained in:
committed by
Facebook Github Bot
parent
d8662805d5
commit
630ae0972b
@@ -2090,7 +2090,7 @@ static inline bool newMeasureSizeIsStricterAndStillValid(CSSMeasureMode sizeMode
|
||||
lastSize > size && lastComputedSize <= size;
|
||||
}
|
||||
|
||||
static bool CSSNodeCanUseCachedMeasurement(const bool isTextNode,
|
||||
bool CSSNodeCanUseCachedMeasurement(const bool isTextNode,
|
||||
const CSSMeasureMode widthMode,
|
||||
const float width,
|
||||
const CSSMeasureMode heightMode,
|
||||
|
Reference in New Issue
Block a user