Bug 1254965 - Remove unused Favicons.getSizedFaviconForPageFromCache(). r=sebastian

MozReview-Commit-ID: F7CsaPYIF9o

--HG--
extra : rebase_source : 67587eacab20f43d4207fb5f60c2e158a6ced91e
This commit is contained in:
cijo 2016-03-09 16:55:56 +01:00
parent fd676ca818
commit 2b6599ed5c

View File

@ -196,20 +196,6 @@ public class Favicons {
return NOT_LOADING;
}
/**
* Only returns a non-null Bitmap if the entire path is cached -- the
* page URL to favicon URL, and the favicon URL to in-memory bitmaps.
*
* Returns null otherwise.
*/
public static Bitmap getSizedFaviconForPageFromCache(final String pageURL, int targetSize) {
final String faviconURL = pageURLMappings.get(pageURL);
if (faviconURL == null) {
return null;
}
return getSizedFaviconFromCache(faviconURL, targetSize);
}
/**
* Get a Favicon as close as possible to the target dimensions for the URL provided.
* If a result is instantly available from the cache, it is returned and the listener is invoked.