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:
committed by
Facebook Github Bot
parent
586eb6102a
commit
4a4325afb6
@@ -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
|
||||
|
@@ -71,10 +71,5 @@ struct Event::TypedData<Event::NodeDeallocation> {
|
||||
YGConfig* config;
|
||||
};
|
||||
|
||||
template <>
|
||||
struct Event::TypedData<Event::LayoutPassEnd> {
|
||||
void* layoutContext;
|
||||
};
|
||||
|
||||
} // namespace yoga
|
||||
} // namespace facebook
|
||||
|
Reference in New Issue
Block a user