diff --git a/Source/ASMultiplexImageNode.mm b/Source/ASMultiplexImageNode.mm index fe922c64b..bd61dc02c 100644 --- a/Source/ASMultiplexImageNode.mm +++ b/Source/ASMultiplexImageNode.mm @@ -96,7 +96,6 @@ @interface ASMultiplexImageNode () //set on init only BOOL _cacheSupportsClearing; - BOOL _isInImageDownloaderPriorityExperiment; } //! @abstract Read-write redeclaration of property declared in ASMultiplexImageNode.h. @@ -184,8 +183,6 @@ - (instancetype)initWithCache:(id)cache downloader:(id_downloaderFlags.downloaderImplementsDownloadWithPriority - && strongSelf->_isInImageDownloaderPriorityExperiment) { + && ASActivateExperimentalFeature(ASExperimentalImageDownloaderPriority)) { /* Decide a priority based on the current interface state of this node. diff --git a/Source/ASNetworkImageNode.mm b/Source/ASNetworkImageNode.mm index d1d748e2d..e7910cd78 100644 --- a/Source/ASNetworkImageNode.mm +++ b/Source/ASNetworkImageNode.mm @@ -47,7 +47,6 @@ @interface ASNetworkImageNode () CGFloat _currentImageQuality; CGFloat _renderedImageQuality; BOOL _shouldRenderProgressImages; - BOOL _isInImageDownloaderPriorityExperiment; struct { unsigned int delegateWillStartDisplayAsynchronously:1; @@ -107,7 +106,6 @@ - (instancetype)initWithCache:(id)cache downloader:(id ima }; if (self->_downloaderFlags.downloaderImplementsDownloadWithPriority - && self->_isInImageDownloaderPriorityExperiment) { + && ASActivateExperimentalFeature(ASExperimentalImageDownloaderPriority)) { /* Decide a priority based on the current interface state of this node. It can happen that this method was called when the node entered preload state