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

Issue 377113004: sk_malloc_throw/sk_calloc_throw in debug prints size in failure message (Closed)

Created:
6 years, 5 months ago by hal.canary
Modified:
6 years, 5 months ago
Reviewers:
mtklein, caryclark, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

sk_malloc_throw/sk_calloc_throw in debug prints size in failure message Committed: https://skia.googlesource.com/skia/+/61b1436c224482611b864bff354b2664772b1b62

Patch Set 1 #

Total comments: 4

Patch Set 2 : AnotherPatchSet #

Patch Set 3 : mtkein suggestions. #

Total comments: 1

Patch Set 4 : move out of include/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
M src/ports/SkMemory_malloc.cpp View 1 2 3 1 chunk +10 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
hal.canary
ptal
6 years, 5 months ago (2014-07-10 14:58:45 UTC) #1
mtklein
https://codereview.chromium.org/377113004/diff/1/src/ports/SkMemory_malloc.cpp File src/ports/SkMemory_malloc.cpp (right): https://codereview.chromium.org/377113004/diff/1/src/ports/SkMemory_malloc.cpp#newcode13 src/ports/SkMemory_malloc.cpp:13: #define SK_DEBUGFAILF(message, ...) \ Can we put this in ...
6 years, 5 months ago (2014-07-10 15:03:40 UTC) #2
hal.canary
https://codereview.chromium.org/377113004/diff/1/src/ports/SkMemory_malloc.cpp File src/ports/SkMemory_malloc.cpp (right): https://codereview.chromium.org/377113004/diff/1/src/ports/SkMemory_malloc.cpp#newcode13 src/ports/SkMemory_malloc.cpp:13: #define SK_DEBUGFAILF(message, ...) \ On 2014/07/10 15:03:40, mtklein wrote: ...
6 years, 5 months ago (2014-07-10 15:15:11 UTC) #3
mtklein
lgtm
6 years, 5 months ago (2014-07-10 15:28:05 UTC) #4
caryclark
lgtm It's unfortunate that there's no obvious way to add a unit test for this.
6 years, 5 months ago (2014-07-10 15:29:56 UTC) #5
hal.canary
The CQ bit was checked by halcanary@google.com
6 years, 5 months ago (2014-07-10 15:39:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/halcanary@google.com/377113004/30001
6 years, 5 months ago (2014-07-10 15:39:47 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-10 15:39:50 UTC) #8
commit-bot: I haz the power
Presubmit check for 377113004-30001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 5 months ago (2014-07-10 15:39:51 UTC) #9
reed1
https://codereview.chromium.org/377113004/diff/30001/include/core/SkTypes.h File include/core/SkTypes.h (right): https://codereview.chromium.org/377113004/diff/30001/include/core/SkTypes.h#newcode123 include/core/SkTypes.h:123: #define SK_DEBUGFAILF(fmt, ...) SkASSERT((SkDebugf(fmt"\n", __VA_ARGS__), false)) Lets just place ...
6 years, 5 months ago (2014-07-10 15:42:22 UTC) #10
hal.canary
The CQ bit was checked by halcanary@google.com
6 years, 5 months ago (2014-07-10 15:46:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/halcanary@google.com/377113004/50001
6 years, 5 months ago (2014-07-10 15:47:17 UTC) #12
commit-bot: I haz the power
6 years, 5 months ago (2014-07-10 15:59:44 UTC) #13
Message was sent while issue was closed.
Change committed as 61b1436c224482611b864bff354b2664772b1b62

Powered by Google App Engine
This is Rietveld 408576698