Back out "[Yoga] Experiment: double invocations of measure callbacks"

Summary:
Removes the double measure callbacks experiment
Original commit changesets: c6cf9c01a173,  b157d8137c72

Reviewed By: SidharthGuglani

Differential Revision: D16687367

fbshipit-source-id: 9649f8731bd1b27f4d291cee4fa30153165cea02
This commit is contained in:
David Aurelio
2019-08-07 18:20:49 -07:00
committed by Facebook Github Bot
parent 72cefead02
commit dcfdb955b3

View File

@@ -15,7 +15,6 @@
#include "YGNodePrint.h"
#include "Yoga-internal.h"
#include "event/event.h"
#include "internal/experiments-inl.h"
#ifdef _MSC_VER
#include <float.h>
@@ -1664,15 +1663,6 @@ static void YGNodeWithMeasureFuncSetMeasuredDimensions(
measuredSize.height,
reason});
if (internal::isEnabled(internal::Experiment::kDoubleMeasureCallbacks)) {
node->measure(
innerWidth,
widthMeasureMode,
innerHeight,
heightMeasureMode,
layoutContext);
}
node->setLayoutMeasuredDimension(
YGNodeBoundAxis(
node,