         
         setWebURL(resource.downloadURL)
 
-        if shouldPreloadAllGIF() {
+        if base.shouldPreloadAllGIF() {
             options.append(.preloadAllGIFData)
         }
         

    fileprivate func kf_setImageTask(_ task: RetrieveImageTask?) { kf.setImageTask(task) }
    @available(*, deprecated, message: "Extensions directly on image views are deprecated.", renamed: "kf.setWebURL")
    fileprivate func kf_setWebURL(_ url: URL) { kf.setWebURL(url) }
    @available(*, deprecated, message: "Extensions directly on image views are deprecated.", renamed: "kf.shouldPreloadAllGIF")
    func shouldPreloadAllGIF() -> Bool { return kf.shouldPreloadAllGIF() }
}

    public func cancelDownloadTask() {
        imageTask?.downloadTask?.cancel()
    }
}

// MARK: - Associated Object
