From 9dbca94a104f69290a62dddcd7686744f8fe0a85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20Knutzen?= <2263015+hakonk@users.noreply.github.com> Date: Sun, 28 Jul 2024 12:54:36 +0200 Subject: [PATCH] Revert "Necessary changes to JReactMarker.cpp" This reverts commit 971c58823f87cb39b297134b6ddf0806b9935ec1. --- .../ReactAndroid/src/main/jni/react/jni/JReactMarker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/jni/react/jni/JReactMarker.cpp b/packages/react-native/ReactAndroid/src/main/jni/react/jni/JReactMarker.cpp index 353b3b50778f85..131237c6d49bff 100644 --- a/packages/react-native/ReactAndroid/src/main/jni/react/jni/JReactMarker.cpp +++ b/packages/react-native/ReactAndroid/src/main/jni/react/jni/JReactMarker.cpp @@ -16,7 +16,7 @@ namespace facebook::react { void JReactMarker::setLogPerfMarkerIfNeeded() { static std::once_flag flag{}; std::call_once(flag, []() { - ReactMarker::LogTaggedMarkerWrapper::setLogTaggedMarkerImpl(JReactMarker::logPerfMarker); + ReactMarker::logTaggedMarkerImpl = JReactMarker::logPerfMarker; ReactMarker::logTaggedMarkerBridgelessImpl = JReactMarker::logPerfMarkerBridgeless; });