From 9a5d3efb1239fa045d7b81fec168e7d623f66b23 Mon Sep 17 00:00:00 2001 From: Samuel Susla Date: Mon, 28 Oct 2024 09:20:04 -0700 Subject: [PATCH] remove EventEmitter::toggleEventTargetOwnership_ (#47224) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47224 changelog: [internal] not used, let's remove it. Reviewed By: rshest Differential Revision: D65004362 fbshipit-source-id: 7cedf18bf1d685510da3512cf40628897b357bcf --- .../react-native/ReactCommon/react/renderer/core/EventEmitter.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/react-native/ReactCommon/react/renderer/core/EventEmitter.h b/packages/react-native/ReactCommon/react/renderer/core/EventEmitter.h index 653e8b8c7cbf5c..7651b4ccec4a22 100644 --- a/packages/react-native/ReactCommon/react/renderer/core/EventEmitter.h +++ b/packages/react-native/ReactCommon/react/renderer/core/EventEmitter.h @@ -104,8 +104,6 @@ class EventEmitter { void dispatchUniqueEvent(std::string type, SharedEventPayload payload) const; private: - void toggleEventTargetOwnership_() const; - friend class UIManagerBinding; mutable SharedEventTarget eventTarget_;