Bug 760218 - Fix favicons not appearing for undefined size. r=margaret

This commit is contained in:
Brian Nicholson 2012-06-07 17:19:34 -07:00
parent 5cf1aae5e2
commit 8fc6d81900

View File

@ -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);