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

Issue 1691623002: Reland: cc: Imagedecodes: Clip the src_rect to the image rect. (Closed)

Created:
4 years, 10 months ago by vmpstr
Modified:
4 years, 10 months ago
Reviewers:
enne (OOO)
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: Imagedecodes: Clip the src_rect to the image rect. This patch clips the source rect to the image rect. If the source rect falls outside of the image rect, then we still allocate enough memory for the original source rect, although we don't read the pixels into it, which results in us eventually using uninitialized memory. R=enne BUG=585698 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/303aa444b7e4881129bf4e56a71139e4a75b17ee Cr-Commit-Position: refs/heads/master@{#374963} Committed: https://crrev.com/c52471d9dec240c8d0a88fa98aa1eefeee32e22f Cr-Commit-Position: refs/heads/master@{#376031}

Patch Set 1 #

Patch Set 2 : update #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -9 lines) Patch
M cc/tiles/image_decode_controller.cc View 1 4 chunks +16 lines, -9 lines 0 comments Download
M cc/tiles/image_decode_controller_unittest.cc View 1 3 chunks +105 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
vmpstr
Please take a look.
4 years, 10 months ago (2016-02-10 23:19:19 UTC) #2
enne (OOO)
What happens if the intersection is empty?
4 years, 10 months ago (2016-02-10 23:54:38 UTC) #3
vmpstr
On 2016/02/10 23:54:38, enne wrote: > What happens if the intersection is empty? It goes ...
4 years, 10 months ago (2016-02-11 00:14:26 UTC) #4
enne (OOO)
lgtm, thanks!
4 years, 10 months ago (2016-02-11 01:52:06 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1691623002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1691623002/20001
4 years, 10 months ago (2016-02-11 19:09:34 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-11 20:15:14 UTC) #8
vmpstr
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1691023003/ by vmpstr@chromium.org. ...
4 years, 10 months ago (2016-02-12 16:59:17 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/303aa444b7e4881129bf4e56a71139e4a75b17ee Cr-Commit-Position: refs/heads/master@{#374963}
4 years, 10 months ago (2016-02-16 22:37:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1691623002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1691623002/40001
4 years, 10 months ago (2016-02-17 22:43:20 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-17 23:31:47 UTC) #19
commit-bot: I haz the power
4 years, 10 months ago (2016-02-17 23:33:41 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c52471d9dec240c8d0a88fa98aa1eefeee32e22f
Cr-Commit-Position: refs/heads/master@{#376031}

Powered by Google App Engine
This is Rietveld 408576698