Chromium Code Reviews
Descriptioncc: Regenerate image decode requests tasks when cache switches.
Right now, when we switch the cache, we fail any decode that was
enqueued but not yet processed or processed but the callback wasn't
issued yet. This patch makes these requests orphaned instead, and if
a new cache is set, then it regenerates the tasks from the new cache
and processes them. If, however, the dtor runs, then the callbacks are
issued with the failure code.
BUG=693692
R=khushalsagar@chromium.org, enne@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2718243002
Cr-Commit-Position: refs/heads/master@{#453471}
Committed: https://chromium.googlesource.com/chromium/src/+/f5cbd80af75b987838cd8da22416edef4fc18355
Patch Set 1 #Patch Set 2 : update #
Messages
Total messages: 8 (4 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||