fixed typo and added backwards compatibility for 'visibilityDidChange'

This commit is contained in:
Luke Parham
2016-06-06 02:02:23 -05:00
parent e510120031
commit fc5467b110
12 changed files with 39 additions and 31 deletions

View File

@@ -278,11 +278,11 @@ static const CGSize kMinReleaseImageOnBackgroundSize = {20.0, 20.0};
}
}
/* visibilityDidChange in ASMultiplexImageNode has a very similar implementation. Changes here are likely necessary
/* visibileStateDidChange in ASMultiplexImageNode has a very similar implementation. Changes here are likely necessary
in ASMultiplexImageNode as well. */
- (void)visibileStateDidChange:(BOOL)isVisible
- (void)visibleStateDidChange:(BOOL)isVisible
{
[super visibileStateDidChange:isVisible];
[super visibleStateDidChange:isVisible];
if (_downloaderImplementsSetPriority) {
_lock.lock();