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

Issue 2446643003: Fix memory leak in FuzzGradients (Closed)

Created:
4 years, 1 month ago by kjlubick
Modified:
4 years, 1 month ago
Reviewers:
mtklein, mtklein_C
CC:
dogben, reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 4

Patch Set 2 : Use vector instead #

Total comments: 13

Patch Set 3 : More cleanup #

Total comments: 4

Patch Set 4 : Address nits #

Patch Set 5 : include vector #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -57 lines) Patch
M fuzz/Fuzz.h View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M fuzz/FuzzGradients.cpp View 1 2 3 9 chunks +45 lines, -55 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 22 (9 generated)
kjlubick
4 years, 1 month ago (2016-10-24 17:39:15 UTC) #3
mtklein_C
https://codereview.chromium.org/2446643003/diff/1/fuzz/FuzzGradients.cpp File fuzz/FuzzGradients.cpp (right): https://codereview.chromium.org/2446643003/diff/1/fuzz/FuzzGradients.cpp#newcode40 fuzz/FuzzGradients.cpp:40: uint32_t t_count; Out of curiosity, what is the t_ ...
4 years, 1 month ago (2016-10-24 17:51:11 UTC) #5
kjlubick
https://codereview.chromium.org/2446643003/diff/1/fuzz/FuzzGradients.cpp File fuzz/FuzzGradients.cpp (right): https://codereview.chromium.org/2446643003/diff/1/fuzz/FuzzGradients.cpp#newcode40 fuzz/FuzzGradients.cpp:40: uint32_t t_count; On 2016/10/24 at 17:51:11, mtklein_C wrote: > ...
4 years, 1 month ago (2016-10-24 19:11:46 UTC) #6
mtklein_C
https://codereview.chromium.org/2446643003/diff/20001/fuzz/FuzzGradients.cpp File fuzz/FuzzGradients.cpp (right): https://codereview.chromium.org/2446643003/diff/20001/fuzz/FuzzGradients.cpp#newcode42 fuzz/FuzzGradients.cpp:42: if (t_count == 1) { Why don't we fuzz ...
4 years, 1 month ago (2016-10-24 19:26:35 UTC) #7
kjlubick
https://codereview.chromium.org/2446643003/diff/20001/fuzz/FuzzGradients.cpp File fuzz/FuzzGradients.cpp (right): https://codereview.chromium.org/2446643003/diff/20001/fuzz/FuzzGradients.cpp#newcode42 fuzz/FuzzGradients.cpp:42: if (t_count == 1) { On 2016/10/24 at 19:26:35, ...
4 years, 1 month ago (2016-10-24 20:22:30 UTC) #8
mtklein_C
lgtm https://codereview.chromium.org/2446643003/diff/40001/fuzz/FuzzGradients.cpp File fuzz/FuzzGradients.cpp (right): https://codereview.chromium.org/2446643003/diff/40001/fuzz/FuzzGradients.cpp#newcode45 fuzz/FuzzGradients.cpp:45: *mode = static_cast<SkShader::TileMode>(fuzz->nextRangeU(0, 3)); This call consumes 4 ...
4 years, 1 month ago (2016-10-24 20:52:24 UTC) #9
mtklein_C
https://codereview.chromium.org/2446643003/diff/20001/fuzz/FuzzGradients.cpp File fuzz/FuzzGradients.cpp (right): https://codereview.chromium.org/2446643003/diff/20001/fuzz/FuzzGradients.cpp#newcode52 fuzz/FuzzGradients.cpp:52: for (uint32_t i = 0; i < t_count; i++) ...
4 years, 1 month ago (2016-10-24 20:54:38 UTC) #10
kjlubick
On 2016/10/24 at 20:54:38, mtklein wrote: > https://codereview.chromium.org/2446643003/diff/20001/fuzz/FuzzGradients.cpp > File fuzz/FuzzGradients.cpp (right): > > https://codereview.chromium.org/2446643003/diff/20001/fuzz/FuzzGradients.cpp#newcode52 ...
4 years, 1 month ago (2016-10-25 12:20:25 UTC) #11
kjlubick
https://codereview.chromium.org/2446643003/diff/40001/fuzz/FuzzGradients.cpp File fuzz/FuzzGradients.cpp (right): https://codereview.chromium.org/2446643003/diff/40001/fuzz/FuzzGradients.cpp#newcode45 fuzz/FuzzGradients.cpp:45: *mode = static_cast<SkShader::TileMode>(fuzz->nextRangeU(0, 3)); On 2016/10/24 at 20:52:23, mtklein_C ...
4 years, 1 month ago (2016-10-25 12:20:40 UTC) #14
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/2446643003/60001
4 years, 1 month ago (2016-10-25 12:20:40 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: Build-Mac-Clang-x86_64-Release-GN-Trybot on master.client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac-Clang-x86_64-Release-GN-Trybot/builds/2426)
4 years, 1 month ago (2016-10-25 12:22:50 UTC) #17
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/2446643003/80001
4 years, 1 month ago (2016-10-25 12:26:21 UTC) #20
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 13:11:07 UTC) #22
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/840f12a721fe5f544e0a03ce1e4aca3ad18389f6

Powered by Google App Engine
This is Rietveld 408576698