-
Jinsong Fan authored
During restoring from the old cache, RestoreFromListValue always traverses all entries and sets the size of the entries to restore_size_. The CL adds check if the cache is full during restoring for performance, and sets restore_size_ to the number of cache entries that were restored. Change-Id: I40f33f326e8aa92a2b8897879c652b8b3b41e825 Reviewed-on: https://chromium-review.googlesource.com/c/1369747 Commit-Queue: Paul Jensen <pauljensen@chromium.org> Reviewed-by:
Paul Jensen <pauljensen@chromium.org> Cr-Commit-Position: refs/heads/master@{#615921}
2f261d21