DescriptionFixed cache eviction in Files.app's slide mode.
Sometimes, prefetching was fast, which caused evicting the image being loaded from cache. As a result, full resolution image was not being loaded properly. This patch addresses this issue by evicting the full-resolution cache in advance, before loading an image from cache. As a result, there is always a space for cache, so there is a guarantee that the image just fetched from cache will not be evicted by the image being prefetched.
TEST=Follow the bug's description.
BUG=227264
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193324
Patch Set 1 #Patch Set 2 : Cleaned up. #Messages
Total messages: 6 (0 generated)
|