Bug 943515 - Refactor favicon accessors for naming and usage consistency. r=mcomella

This commit is contained in:
Joshua Dover
2014-01-08 13:42:45 -08:00
parent ebf44b67d9
commit cb2cecd57b
5 changed files with 20 additions and 19 deletions

View File

@@ -766,7 +766,7 @@ public class Tabs implements GeckoEventListener {
*/
private Bitmap getAboutPageFavicon(final String url) {
int faviconSize = Math.round(mAppContext.getResources().getDimension(R.dimen.browser_toolbar_favicon_size));
return Favicons.getCachedFaviconForSize(url, faviconSize);
return Favicons.getSizedFaviconForPageFromCache(url, faviconSize);
}
/**