Skip to content

Commit

Permalink
Back out "[Yoga] Experiment: double invocations of measure callbacks"
Browse files Browse the repository at this point in the history
Summary:
Removes the double measure callbacks experiment
Original commit changesets: c6cf9c01a173,  b157d8137c72

Reviewed By: SidharthGuglani

Differential Revision: D16687367

fbshipit-source-id: 9649f8731bd1b27f4d291cee4fa30153165cea02
  • Loading branch information
davidaurelio authored and facebook-github-bot committed Aug 8, 2019
1 parent f94360a commit c9b757f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions ReactCommon/yoga/yoga/Yoga.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit c9b757f

Please sign in to comment.