mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00
Bug 1254965 - Remove unused Favicons.getSizedFaviconForPageFromCache(). r=sebastian
MozReview-Commit-ID: F7CsaPYIF9o --HG-- extra : rebase_source : 67587eacab20f43d4207fb5f60c2e158a6ced91e
This commit is contained in:
parent
fd676ca818
commit
2b6599ed5c
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user