mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 04:05:32 +00:00
Bug 1277854 - Post: add comment explaining local loading r=sebastian
MozReview-Commit-ID: J8eJrzkExeX --HG-- extra : rebase_source : a9ccb5ca9778eb24bdf7bb22a7966284d7cebe2e
This commit is contained in:
parent
9de231d999
commit
175bca873e
@ -306,8 +306,10 @@ public class Favicons {
|
||||
}
|
||||
|
||||
// No joy using in-memory resources. Go to background thread and ask the database.
|
||||
// Note: this is a near duplicate of loadUncachedFavicon, however loadUncachedFavicon
|
||||
// can download favicons, whereas we want to restrict ourselves to the cache.
|
||||
final LoadFaviconTask task =
|
||||
new LoadFaviconTask(context, pageURL, targetURL, 0, callback, targetSize, true);
|
||||
new LoadFaviconTask(context, pageURL, targetURL, 0, callback, targetSize, /* onlyFromLocal: */ true);
|
||||
final int taskId = task.getId();
|
||||
synchronized (loadTasks) {
|
||||
loadTasks.put(taskId, task);
|
||||
|
Loading…
Reference in New Issue
Block a user