Chromium Code Reviews
Descriptioncc: Fix cleanup path for image decode requests in ImageController.
The change fixes a couple of things in the ImageController:
1) We try to mark each image decode task as completed when tearing down
the work queued for the image worker in StopWorkerTasks. Since multiple
requests for the same image will re-use the tasks, we try to complete
the same task again.
2) Make sure that we tear down the worker tasks when switching caches,
not just when the cache is reset.
BUG=693682
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2699533010
Cr-Commit-Position: refs/heads/master@{#452237}
Committed: https://chromium.googlesource.com/chromium/src/+/fbe2b0877565ac300ce38da21e4bf0fb93e7de40
Patch Set 1 #
Total comments: 3
Patch Set 2 : .. #
Messages
Total messages: 13 (6 generated)
|
||||||||||||||||||||||||||||