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:
committed by
Facebook Github Bot
parent
72cefead02
commit
dcfdb955b3
@@ -15,7 +15,6 @@
|
|||||||
#include "YGNodePrint.h"
|
#include "YGNodePrint.h"
|
||||||
#include "Yoga-internal.h"
|
#include "Yoga-internal.h"
|
||||||
#include "event/event.h"
|
#include "event/event.h"
|
||||||
#include "internal/experiments-inl.h"
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
|
|
||||||
@@ -1664,15 +1663,6 @@ static void YGNodeWithMeasureFuncSetMeasuredDimensions(
|
|||||||
measuredSize.height,
|
measuredSize.height,
|
||||||
reason});
|
reason});
|
||||||
|
|
||||||
if (internal::isEnabled(internal::Experiment::kDoubleMeasureCallbacks)) {
|
|
||||||
node->measure(
|
|
||||||
innerWidth,
|
|
||||||
widthMeasureMode,
|
|
||||||
innerHeight,
|
|
||||||
heightMeasureMode,
|
|
||||||
layoutContext);
|
|
||||||
}
|
|
||||||
|
|
||||||
node->setLayoutMeasuredDimension(
|
node->setLayoutMeasuredDimension(
|
||||||
YGNodeBoundAxis(
|
YGNodeBoundAxis(
|
||||||
node,
|
node,
|
||||||
|
Reference in New Issue
Block a user