mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Fix some site icons not displaying properly.
This commit is contained in:
parent
2ba330b480
commit
18b025a5f2
@ -288,6 +288,7 @@ static nsresult MakeFaviconURIFromURI(const nsAString& inURIString, nsAString& o
|
||||
if (!gotImageData)
|
||||
[self addToMissedIconsCache:uriString withExpirationSeconds:SITE_ICON_EXPIRATION_SECONDS];
|
||||
|
||||
[faviconImage setDataRetained:YES];
|
||||
[faviconImage setScalesWhenResized:YES];
|
||||
[faviconImage setSize:NSMakeSize(16, 16)];
|
||||
|
||||
|
@ -288,6 +288,7 @@ static nsresult MakeFaviconURIFromURI(const nsAString& inURIString, nsAString& o
|
||||
if (!gotImageData)
|
||||
[self addToMissedIconsCache:uriString withExpirationSeconds:SITE_ICON_EXPIRATION_SECONDS];
|
||||
|
||||
[faviconImage setDataRetained:YES];
|
||||
[faviconImage setScalesWhenResized:YES];
|
||||
[faviconImage setSize:NSMakeSize(16, 16)];
|
||||
|
||||
|
@ -288,6 +288,7 @@ static nsresult MakeFaviconURIFromURI(const nsAString& inURIString, nsAString& o
|
||||
if (!gotImageData)
|
||||
[self addToMissedIconsCache:uriString withExpirationSeconds:SITE_ICON_EXPIRATION_SECONDS];
|
||||
|
||||
[faviconImage setDataRetained:YES];
|
||||
[faviconImage setScalesWhenResized:YES];
|
||||
[faviconImage setSize:NSMakeSize(16, 16)];
|
||||
|
||||
|
@ -288,6 +288,7 @@ static nsresult MakeFaviconURIFromURI(const nsAString& inURIString, nsAString& o
|
||||
if (!gotImageData)
|
||||
[self addToMissedIconsCache:uriString withExpirationSeconds:SITE_ICON_EXPIRATION_SECONDS];
|
||||
|
||||
[faviconImage setDataRetained:YES];
|
||||
[faviconImage setScalesWhenResized:YES];
|
||||
[faviconImage setSize:NSMakeSize(16, 16)];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user