From de6cdc442d4dc87b2247351684271a30c4e76ae7 Mon Sep 17 00:00:00 2001 From: Karan Thakkar Date: Thu, 6 Dec 2018 21:11:32 -0800 Subject: [PATCH] Rename RCTImageCacheDelegate -> RCTImageCache in code comment (#22406) Summary: Update reference to property in code comment in `RCTImageLoader`. There is no protocol named `RCTImageCacheDelegate` in the codebase. Its just `RCTImageCache` and it exists [here](https://github.com/facebook/react-native/blob/f2894e58cf6d1c30975b670f5abf3aaa8d345ed1/Libraries/Image/RCTImageLoader.h#L22). Pull Request resolved: https://github.com/facebook/react-native/pull/22406 Differential Revision: D13373793 Pulled By: cpojer fbshipit-source-id: b5edf18ebad626bf09648c079299e5acd14ba48a --- Libraries/Image/RCTImageLoader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Image/RCTImageLoader.h b/Libraries/Image/RCTImageLoader.h index df879c1fb6..57a6db76da 100644 --- a/Libraries/Image/RCTImageLoader.h +++ b/Libraries/Image/RCTImageLoader.h @@ -140,7 +140,7 @@ typedef dispatch_block_t RCTImageLoaderCancellationBlock; /** * Allows developers to set their own caching implementation for - * decoded images as long as it conforms to the RCTImageCacheDelegate + * decoded images as long as it conforms to the RCTImageCache * protocol. This method should be called in bridgeDidInitializeModule. */ - (void)setImageCache:(id)cache;