Use an NSCache instead of an NSMutableDicitonary to take advantage of an LRU eviction logic that is a part of NSCache in addition to the in-memory access of recently retrieved favicons that both provide.
Implement favicon retrieval logic using LargeIconService static method GetLargeIconOrFallbackStyle(). Currently it has a dependency on TabSwitcher, which is the wrong approach.
Comment 1 by bugdroid1@chromium.org
, May 23 2018