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 131237c6d49bff..353b3b50778f85 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::logTaggedMarkerImpl = JReactMarker::logPerfMarker; + ReactMarker::LogTaggedMarkerWrapper::setLogTaggedMarkerImpl(JReactMarker::logPerfMarker); ReactMarker::logTaggedMarkerBridgelessImpl = JReactMarker::logPerfMarkerBridgeless; });