Chromium Code Reviews
Description[CacheStorage] Don't call GetUsageAndQuota from a scheduled operation
Merge into branch 2704
Scheduled operations run sequentially. GetUsageAndQuota() can sometimes create
a new Size() scheduled operation, so calling it while in a scheduled operation
can result in a hung CacheStorage. This CL moves the calls to GetUsageAndQuota
to just before the operations are scheduled. This means that the size estimate
is less accurate, as it's determined potentially well before the operation runs.
BUG=620713
Review-Url: https://codereview.chromium.org/2085583002
Cr-Commit-Position: refs/heads/master@{#401001}
(cherry picked from commit 36dc82c2b7539b33b63cb6f967feae265625d178)
Committed: https://chromium.googlesource.com/chromium/src/+/64d27590ccffe40abab3e9560bd886f3624eff23
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||||||||||||||||||||