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

Issue 1069013002: add realloc method to SkAutoSTMalloc (Closed)

Created:
5 years, 8 months ago by joshua.litt
Modified:
5 years, 8 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

add realloc method to SkAutoSTMalloc BUG=skia: Committed: https://skia.googlesource.com/skia/+/f1f8895cbec1a9b7ec4eaa7c322aa03a4469612a

Patch Set 1 #

Patch Set 2 : missed a free #

Total comments: 2

Patch Set 3 : feedback inc #

Total comments: 1

Patch Set 4 : adding tests #

Patch Set 5 : feedback inc #

Total comments: 1

Patch Set 6 : feedback inc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -10 lines) Patch
M gyp/tests.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkTemplates.h View 1 2 3 4 5 3 chunks +18 lines, -10 lines 0 comments Download
A tests/TemplatesTest.cpp View 1 2 3 4 5 1 chunk +72 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
joshualitt
5 years, 8 months ago (2015-04-07 18:26:24 UTC) #2
mtklein
https://codereview.chromium.org/1069013002/diff/20001/include/core/SkTemplates.h File include/core/SkTemplates.h (right): https://codereview.chromium.org/1069013002/diff/20001/include/core/SkTemplates.h#newcode472 include/core/SkTemplates.h:472: fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP); Let's ...
5 years, 8 months ago (2015-04-07 19:27:34 UTC) #3
joshualitt
On 2015/04/07 19:27:34, mtklein wrote: > https://codereview.chromium.org/1069013002/diff/20001/include/core/SkTemplates.h > File include/core/SkTemplates.h (right): > > https://codereview.chromium.org/1069013002/diff/20001/include/core/SkTemplates.h#newcode472 > ...
5 years, 8 months ago (2015-04-07 19:38:25 UTC) #4
mtklein
https://codereview.chromium.org/1069013002/diff/40001/include/core/SkTemplates.h File include/core/SkTemplates.h (right): https://codereview.chromium.org/1069013002/diff/40001/include/core/SkTemplates.h#newcode469 include/core/SkTemplates.h:469: void realloc(size_t count) { Don't we still need a ...
5 years, 8 months ago (2015-04-07 19:59:44 UTC) #5
joshualitt
On 2015/04/07 19:59:44, mtklein wrote: > https://codereview.chromium.org/1069013002/diff/40001/include/core/SkTemplates.h > File include/core/SkTemplates.h (right): > > https://codereview.chromium.org/1069013002/diff/40001/include/core/SkTemplates.h#newcode469 > ...
5 years, 8 months ago (2015-04-07 21:14:12 UTC) #6
mtklein
lgtm https://codereview.chromium.org/1069013002/diff/80001/include/core/SkTemplates.h File include/core/SkTemplates.h (right): https://codereview.chromium.org/1069013002/diff/80001/include/core/SkTemplates.h#newcode415 include/core/SkTemplates.h:415: fPtr = NULL; Does it seem weird that ...
5 years, 8 months ago (2015-04-08 13:20:05 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1069013002/100001
5 years, 8 months ago (2015-04-08 13:49:49 UTC) #10
commit-bot: I haz the power
Presubmit check for 1069013002-100001 failed and returned exit status 1. Running presubmit commit checks ...
5 years, 8 months ago (2015-04-08 13:49:54 UTC) #12
joshualitt
Brian, can I get an l-g-t-m?
5 years, 8 months ago (2015-04-08 13:50:29 UTC) #14
bsalomon
lgtm
5 years, 8 months ago (2015-04-08 14:00:54 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1069013002/100001
5 years, 8 months ago (2015-04-08 14:07:05 UTC) #17
commit-bot: I haz the power
5 years, 8 months ago (2015-04-08 14:33:37 UTC) #18
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://skia.googlesource.com/skia/+/f1f8895cbec1a9b7ec4eaa7c322aa03a4469612a

Powered by Google App Engine
This is Rietveld 408576698