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{