From c0c644cdd6cbd023a517676c1f8e59b6b3bdea6d Mon Sep 17 00:00:00 2001 From: Valentin Shergin Date: Tue, 11 Feb 2020 22:02:45 -0800 Subject: [PATCH] Fabric: Fixed compilation error in RawPropsBenchmark Summary: Subject. Changelog: [Internal] Fabric-specific internal change. Reviewed By: mdvacca Differential Revision: D19840558 fbshipit-source-id: 74f04df4bbf347390aa623b89da3aa4fd6acf32e --- .../fabric/core/tests/benchmarks/RawPropsBenchmark.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReactCommon/fabric/core/tests/benchmarks/RawPropsBenchmark.cpp b/ReactCommon/fabric/core/tests/benchmarks/RawPropsBenchmark.cpp index b062bc0bb2..457c769ee8 100644 --- a/ReactCommon/fabric/core/tests/benchmarks/RawPropsBenchmark.cpp +++ b/ReactCommon/fabric/core/tests/benchmarks/RawPropsBenchmark.cpp @@ -20,8 +20,8 @@ namespace react { auto contextContainer = std::make_shared(); auto eventDispatcher = std::shared_ptr{nullptr}; -auto viewComponentDescriptor = - ViewComponentDescriptor(eventDispatcher, contextContainer); +auto viewComponentDescriptor = ViewComponentDescriptor{ + ComponentDescriptorParameters{eventDispatcher, contextContainer}}; auto emptyPropsDynamic = folly::parseJson("{}"); auto propsString = std::string{