DescriptionDisk cache: Reset mask_ when the disk cache is being restarted.
It is possible that the size for the index table is reduced when
the cache is restarted (the available disk space could be lower
than what it was when the cache was originally created). If that
is the case, not resetting mask_ to 0 will prevent the mask to
be set correctly for the new table size, resulting in a crash.
BUG=12378
TEST=unittests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=17052
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|