Add a concurrent flag to ASStackLayoutSpec that is off by default (#3148)

This commit is contained in:
Huy Nguyen
2017-03-08 16:33:50 +00:00
committed by GitHub
parent 21953c97ef
commit dd8cac4414
4 changed files with 29 additions and 17 deletions

View File

@@ -58,7 +58,8 @@ struct ASStackUnpositionedLayout {
/** Given a set of children, computes the unpositioned layouts for those children. */
static ASStackUnpositionedLayout compute(const std::vector<ASStackLayoutSpecChild> &children,
const ASStackLayoutSpecStyle &style,
const ASSizeRange &sizeRange);
const ASSizeRange &sizeRange,
const BOOL concurrent);
static CGFloat baselineForItem(const ASStackLayoutSpecStyle &style,
const ASStackLayoutSpecItem &l);