diff --git a/ReactCommon/cxxreact/NativeToJsBridge.cpp b/ReactCommon/cxxreact/NativeToJsBridge.cpp index 9668712aa9188f..6d3dc9a38a7074 100644 --- a/ReactCommon/cxxreact/NativeToJsBridge.cpp +++ b/ReactCommon/cxxreact/NativeToJsBridge.cpp @@ -181,7 +181,6 @@ void NativeToJsBridge::callFunction( #else (void)(systraceCookie); #endif - SystraceSection s("NativeToJsBridge::callFunction", "module", module, "method", method); // This is safe because we are running on the executor's thread: it won't // destruct until after it's been unregistered (which we check above) and // that will happen on this thread diff --git a/ReactCommon/cxxreact/NativeToJsBridge.h b/ReactCommon/cxxreact/NativeToJsBridge.h index 901200e982ab72..3c4591f96b93b1 100644 --- a/ReactCommon/cxxreact/NativeToJsBridge.h +++ b/ReactCommon/cxxreact/NativeToJsBridge.h @@ -114,7 +114,7 @@ class NativeToJsBridge { bool m_applicationScriptHasFailure = false; #ifdef WITH_FBSYSTRACE - std::atomic_uint_least32_t m_systraceCookie = ATOMIC_VAR_INIT(); + std::atomic_uint_least32_t m_systraceCookie{}; #endif };