From 2f6c88a0a4e5a50427aa6c23dc4c212358bbed04 Mon Sep 17 00:00:00 2001 From: "Julio C. Rocha" Date: Wed, 28 Jun 2023 17:06:24 -0700 Subject: [PATCH] Revert module.g.cpp --- vnext/Desktop/module.g.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/vnext/Desktop/module.g.cpp b/vnext/Desktop/module.g.cpp index 54ebb06ef7..e7d8e21cac 100644 --- a/vnext/Desktop/module.g.cpp +++ b/vnext/Desktop/module.g.cpp @@ -6,9 +6,9 @@ #include "pch.h" #include "winrt/base.h" void* winrt_make_Microsoft_Internal_TestController(); -// void* winrt_make_Microsoft_ReactNative_CompositionRootView();//TODO: revert -// void *winrt_make_Microsoft_ReactNative_Composition_CompositionContextHelper(); -// void *winrt_make_Microsoft_ReactNative_Composition_CompositionUIService(); +void* winrt_make_Microsoft_ReactNative_CompositionRootView(); +void *winrt_make_Microsoft_ReactNative_Composition_CompositionContextHelper(); +void *winrt_make_Microsoft_ReactNative_Composition_CompositionUIService(); void* winrt_make_Microsoft_ReactNative_JsiRuntime(); void* winrt_make_Microsoft_ReactNative_ReactCoreInjection(); void* winrt_make_Microsoft_ReactNative_ReactDispatcherHelper(); @@ -43,15 +43,15 @@ void* __stdcall winrt_get_activation_factory([[maybe_unused]] std::wstring_view { return winrt_make_Microsoft_Internal_TestController(); } - // if (requal(name, L"Microsoft.ReactNative.CompositionRootView")) {//TODO: revert - // return winrt_make_Microsoft_ReactNative_CompositionRootView(); - // } - // if (requal(name, L"Microsoft.ReactNative.Composition.CompositionContextHelper")) { - // return winrt_make_Microsoft_ReactNative_Composition_CompositionContextHelper(); - // } - // if (requal(name, L"Microsoft.ReactNative.Composition.CompositionUIService")) { - // return winrt_make_Microsoft_ReactNative_Composition_CompositionUIService(); - // } + if (requal(name, L"Microsoft.ReactNative.CompositionRootView")) { + return winrt_make_Microsoft_ReactNative_CompositionRootView(); + } + if (requal(name, L"Microsoft.ReactNative.Composition.CompositionContextHelper")) { + return winrt_make_Microsoft_ReactNative_Composition_CompositionContextHelper(); + } + if (requal(name, L"Microsoft.ReactNative.Composition.CompositionUIService")) { + return winrt_make_Microsoft_ReactNative_Composition_CompositionUIService(); + } if (requal(name, L"Microsoft.ReactNative.JsiRuntime")) { return winrt_make_Microsoft_ReactNative_JsiRuntime();