Use real propsParserContext in LayoutAnimation

Summary: Changelog: [Internal]

Reviewed By: sammy-SC

Differential Revision: D31053819

fbshipit-source-id: 8ec21012500f3bfc7e8aea018b5ca72323da2d9e
This commit is contained in:
Pieter De Baets
2021-09-21 04:24:28 -07:00
committed by Facebook GitHub Bot
parent f4fdf4b55e
commit 6025611bd0
6 changed files with 22 additions and 27 deletions
@@ -587,8 +587,8 @@ void Binding::installFabricUIManager(
toolbox.backgroundExecutor = backgroundExecutor_->get();
}
animationDriver_ =
std::make_shared<LayoutAnimationDriver>(runtimeExecutor, this);
animationDriver_ = std::make_shared<LayoutAnimationDriver>(
runtimeExecutor, contextContainer, this);
scheduler_ = std::make_shared<Scheduler>(
toolbox, (animationDriver_ ? animationDriver_.get() : nullptr), this);
}