Fabric: Removed ImageNoLongerNeededException, an old leftover

Summary: Trivial.

Reviewed By: JoshuaGross, mdvacca

Differential Revision: D14286275

fbshipit-source-id: c29961eb11877da8ae8f14cb2a71cb5eee386fe0
This commit is contained in:
Valentin Shergin
2019-03-01 22:07:27 -08:00
committed by Facebook Github Bot
parent 2945922904
commit ada9dbf919
2 changed files with 0 additions and 11 deletions

View File

@@ -24,11 +24,6 @@ namespace react {
*/
class ImageRequest final {
public:
/*
* The exception which is thrown when `ImageRequest` is being deallocated
* if the future is not ready yet.
*/
class ImageNoLongerNeededException;
/*
* The default constructor

View File

@@ -10,12 +10,6 @@
namespace facebook {
namespace react {
class ImageRequest::ImageNoLongerNeededException : public std::logic_error {
public:
ImageNoLongerNeededException()
: std::logic_error("Image no longer needed.") {}
};
ImageRequest::ImageRequest(const ImageSource &imageSource)
: imageSource_(imageSource) {
coordinator_ = std::make_shared<ImageResponseObserverCoordinator>();