Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(853)

Issue 2256833006: cc, images: Add auto finish draw class to ensure robustness. (Closed)

Created:
4 years, 4 months ago by vmpstr
Modified:
4 years, 4 months ago
Reviewers:
ericrk
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc, images: Add auto finish draw class to ensure robustness. This patch makes the code more robust in that it adds a class which automatically calls image draw finished on exit. This ensures that any changes to the code (more early outs) won't forget to call that function. R=ericrk CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/d0cb7fd1eea261f6a1a6e2853ca6c3618c17d845 Cr-Commit-Position: refs/heads/master@{#413367}

Patch Set 1 #

Total comments: 2

Patch Set 2 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -14 lines) Patch
M cc/tiles/software_image_decode_controller.cc View 1 5 chunks +25 lines, -14 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
vmpstr
Please take a look.
4 years, 4 months ago (2016-08-19 18:42:29 UTC) #2
ericrk
lgtm https://codereview.chromium.org/2256833006/diff/1/cc/tiles/software_image_decode_controller.cc File cc/tiles/software_image_decode_controller.cc (right): https://codereview.chromium.org/2256833006/diff/1/cc/tiles/software_image_decode_controller.cc#newcode80 cc/tiles/software_image_decode_controller.cc:80: DrawImage draw_image_; nit: make these const, as they ...
4 years, 4 months ago (2016-08-19 20:38:43 UTC) #3
ericrk
lgtm lgtm https://codereview.chromium.org/2256833006/diff/1/cc/tiles/software_image_decode_controller.cc File cc/tiles/software_image_decode_controller.cc (right): https://codereview.chromium.org/2256833006/diff/1/cc/tiles/software_image_decode_controller.cc#newcode80 cc/tiles/software_image_decode_controller.cc:80: DrawImage draw_image_; nit: make these const, as ...
4 years, 4 months ago (2016-08-19 20:38:43 UTC) #4
vmpstr
https://codereview.chromium.org/2256833006/diff/1/cc/tiles/software_image_decode_controller.cc File cc/tiles/software_image_decode_controller.cc (right): https://codereview.chromium.org/2256833006/diff/1/cc/tiles/software_image_decode_controller.cc#newcode80 cc/tiles/software_image_decode_controller.cc:80: DrawImage draw_image_; On 2016/08/19 20:38:43, ericrk wrote: > nit: ...
4 years, 4 months ago (2016-08-21 03:59:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2256833006/20001
4 years, 4 months ago (2016-08-21 03:59:40 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-21 05:21:48 UTC) #9
commit-bot: I haz the power
4 years, 4 months ago (2016-08-21 05:23:50 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d0cb7fd1eea261f6a1a6e2853ca6c3618c17d845
Cr-Commit-Position: refs/heads/master@{#413367}

Powered by Google App Engine
This is Rietveld 408576698