mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 760218 - Fix favicons not appearing for undefined size. r=margaret
This commit is contained in:
parent
5cf1aae5e2
commit
8fc6d81900
@ -321,7 +321,7 @@ public final class Tab {
|
||||
|
||||
// Only update the favicon if it's bigger than the current favicon.
|
||||
// We use -1 to represent icons with sizes="any".
|
||||
if (size == -1 || size > mFaviconSize) {
|
||||
if (size == -1 || size >= mFaviconSize) {
|
||||
mFaviconUrl = faviconUrl;
|
||||
mFaviconSize = size;
|
||||
Log.i(LOGTAG, "Updated favicon URL for tab with id: " + mId);
|
||||
|
Loading…
Reference in New Issue
Block a user