Skip to content

Commit

Permalink
Rename RCTImageCacheDelegate -> RCTImageCache in code comment (facebo…
Browse files Browse the repository at this point in the history
…ok#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: facebook#22406

Differential Revision: D13373793

Pulled By: cpojer

fbshipit-source-id: b5edf18ebad626bf09648c079299e5acd14ba48a
  • Loading branch information
karanjthakkar authored and facebook-github-bot committed Dec 7, 2018
1 parent e8a6cb5 commit de6cdc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Image/RCTImageLoader.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<RCTImageCache>)cache;
Expand Down

0 comments on commit de6cdc4

Please sign in to comment.