diff --git a/ReactCommon/fabric/core/events/EventBeat.h b/ReactCommon/fabric/core/events/EventBeat.h index 63dacb91eac..1e20c2ec937 100644 --- a/ReactCommon/fabric/core/events/EventBeat.h +++ b/ReactCommon/fabric/core/events/EventBeat.h @@ -75,13 +75,13 @@ class EventBeat { */ void setBeatCallback(const BeatCallback &beatCallback); + protected: /* * Should be used by sublasses to send a beat. * Receiver might ignore the call if a beat was not requested. */ void beat(jsi::Runtime &runtime) const; - protected: BeatCallback beatCallback_; SharedOwnerBox ownerBox_; mutable std::atomic isRequested_{false};