Mark appropriate caches as dirty
This commit is contained in:
parent
f690bba775
commit
64af8840fe
@ -136,6 +136,7 @@ final class FaviconDownloader {
|
|||||||
|
|
||||||
if (!hasIcons) {
|
if (!hasIcons) {
|
||||||
self.homePageURLsWithNoFaviconURLCache.insert(url)
|
self.homePageURLsWithNoFaviconURLCache.insert(url)
|
||||||
|
self.homePageURLsWithNoFaviconURLCacheDirty = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -169,6 +170,7 @@ final class FaviconDownloader {
|
|||||||
if let url = singleFaviconDownloader.homePageURL {
|
if let url = singleFaviconDownloader.homePageURL {
|
||||||
if self.homePageToFaviconURLCache[url] == nil {
|
if self.homePageToFaviconURLCache[url] == nil {
|
||||||
self.homePageToFaviconURLCache[url] = singleFaviconDownloader.faviconURL
|
self.homePageToFaviconURLCache[url] = singleFaviconDownloader.faviconURL
|
||||||
|
self.homePageToFaviconURLCacheDirty = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user