diff --git a/packages/react-native/ReactCommon/react/renderer/imagemanager/ImageManager.h b/packages/react-native/ReactCommon/react/renderer/imagemanager/ImageManager.h index 600e4b3d99138b..128be69838884a 100644 --- a/packages/react-native/ReactCommon/react/renderer/imagemanager/ImageManager.h +++ b/packages/react-native/ReactCommon/react/renderer/imagemanager/ImageManager.h @@ -21,15 +21,17 @@ class ImageManager; using SharedImageManager = std::shared_ptr; /* - * Cross platform facade for iOS-specific RCTImageManager. + * Cross platform facade for image management (e.g. iOS-specific + * RCTImageManager) */ class ImageManager { public: ImageManager(const ContextContainer::Shared& contextContainer); - ~ImageManager(); + virtual ~ImageManager(); - ImageRequest requestImage(const ImageSource& imageSource, SurfaceId surfaceId) - const; + virtual ImageRequest requestImage( + const ImageSource& imageSource, + SurfaceId surfaceId) const; private: void* self_{};