mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-06-18 13:05:58 +08:00
Fabric: Removed ImageNoLongerNeededException, an old leftover
Summary: Trivial. Reviewed By: JoshuaGross, mdvacca Differential Revision: D14286275 fbshipit-source-id: c29961eb11877da8ae8f14cb2a71cb5eee386fe0
This commit is contained in:
committed by
Facebook Github Bot
parent
2945922904
commit
ada9dbf919
@@ -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
|
||||
|
||||
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user