Add flag in YGConfig for running experiments

Summary: Add flag in YGConfig for running experiments

Reviewed By: emilsjolander

Differential Revision: D6948702

fbshipit-source-id: 009fe2d64b6098f8c3a0289f0e6939dea5ce0d37
This commit is contained in:
Pritesh Nandgaonkar
2018-02-09 06:14:36 -08:00
committed by Facebook Github Bot
parent 402ee11273
commit b08bd572ef
2 changed files with 7 additions and 4 deletions

View File

@@ -215,6 +215,7 @@ struct YGConfig {
bool experimentalFeatures[YGExperimentalFeatureCount + 1];
bool useWebDefaults;
bool useLegacyStretchBehaviour;
bool shouldDiffLayoutWithoutLegacyStretchBehaviour;
float pointScaleFactor;
YGLogger logger;
YGNodeClonedFunc cloneNodeCallback;