DescriptionCorrect cache-size calculation of MetadataCache.
- Make sure that the DirectoryContent.dispose() is called when necessary.
- Defer dispose() temporarily when we need to replace directory contents.
BUG=408893
TEST=watched the cache size manually, and ran browser_tests
Committed: https://crrev.com/bc9ca87d6261fc87939aeac01879301e4486ec22
Cr-Commit-Position: refs/heads/master@{#292593}
Patch Set 1 #
Total comments: 7
Patch Set 2 : Remove unnecessary if statement and added a comment. #Patch Set 3 : Remove unintended newline. #Patch Set 4 : Add a comment for metadata size synchronization. #
Messages
Total messages: 10 (0 generated)
|