Revert D15602627: [yoga] moved PtrJNode map to YGJtypes.h and passing layout context as data in LayoutPassEnd Event

Differential Revision:
D15602627

Original commit changeset: bb5bd5bbf8dc

fbshipit-source-id: 5ae08826eb706c3794c36738cb9625f82b58641e
This commit is contained in:
Joshua Gross
2019-06-03 19:53:49 -07:00
committed by Facebook Github Bot
parent 586eb6102a
commit 4a4325afb6
4 changed files with 29 additions and 39 deletions

View File

@@ -4093,7 +4093,7 @@ void YGNodeCalculateLayoutWithContext(
marker = nullptr;
#ifdef YG_ENABLE_EVENTS
Event::publish<Event::LayoutPassEnd>(node, {layoutContext});
Event::publish<Event::LayoutPassEnd>(node);
#endif
// We want to get rid off `useLegacyStretchBehaviour` from YGConfig. But we