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

Issue 220273002: Use cross-platform base::UncheckedMalloc for skia (Closed)

Created:
6 years, 8 months ago by kbalazs
Modified:
6 years, 8 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, Ken Russell (switch to Gerrit), Justin Novosad, willchan no longer on Chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Use cross-platform base::UncheckedMalloc for skia UncheckedMalloc/UncheckedCalloc is now implemented for Linux as well so we can use it. BUG=73751 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261643

Patch Set 1 #

Patch Set 2 : dont try to update comment as it just gets messier #

Total comments: 4

Patch Set 3 : fix typos #

Total comments: 2

Patch Set 4 : ignore_result #

Patch Set 5 : fix ios build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -17 lines) Patch
M base/process/memory.h View 1 chunk +0 lines, -6 lines 0 comments Download
M skia/ext/SkMemory_new_handler.cpp View 1 2 3 4 2 chunks +16 lines, -11 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
kbalazs
6 years, 8 months ago (2014-04-01 00:02:33 UTC) #1
Ken Russell (switch to Gerrit)
Brian and Mike should probably review this too. https://codereview.chromium.org/220273002/diff/20001/skia/ext/SkMemory_new_handler.cpp File skia/ext/SkMemory_new_handler.cpp (right): https://codereview.chromium.org/220273002/diff/20001/skia/ext/SkMemory_new_handler.cpp#newcode55 skia/ext/SkMemory_new_handler.cpp:55: // ...
6 years, 8 months ago (2014-04-01 00:37:35 UTC) #2
bsalomon_chromium
From my limited familiarity with Chromium's memory handling this seems ok but I'm definitely not ...
6 years, 8 months ago (2014-04-01 12:12:51 UTC) #3
mtklein
LGTM I think I touched this last. Nice to see the ability to catch malloc ...
6 years, 8 months ago (2014-04-01 14:10:01 UTC) #4
kbalazs
https://codereview.chromium.org/220273002/diff/20001/skia/ext/SkMemory_new_handler.cpp File skia/ext/SkMemory_new_handler.cpp (right): https://codereview.chromium.org/220273002/diff/20001/skia/ext/SkMemory_new_handler.cpp#newcode57 skia/ext/SkMemory_new_handler.cpp:57: #defined(OS_MACOSX) || #defined(OS_ANDROID) On 2014/04/01 12:12:51, bsalomon1 wrote: > ...
6 years, 8 months ago (2014-04-01 15:07:37 UTC) #5
kbalazs
The CQ bit was checked by b.kelemen@samsung.com
6 years, 8 months ago (2014-04-01 20:12:42 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/b.kelemen@samsung.com/220273002/40001
6 years, 8 months ago (2014-04-01 20:12:49 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-01 20:12:50 UTC) #8
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 8 months ago (2014-04-01 20:12:50 UTC) #9
kbalazs
On 2014/04/01 20:12:50, I haz the power (commit-bot) wrote: > No LGTM from a valid ...
6 years, 8 months ago (2014-04-01 20:58:00 UTC) #10
bsalomon
On 2014/04/01 20:58:00, kbalazs wrote: > On 2014/04/01 20:12:50, I haz the power (commit-bot) wrote: ...
6 years, 8 months ago (2014-04-01 21:01:25 UTC) #11
Nico
Looks mostly fine. https://codereview.chromium.org/220273002/diff/40001/skia/ext/SkMemory_new_handler.cpp File skia/ext/SkMemory_new_handler.cpp (right): https://codereview.chromium.org/220273002/diff/40001/skia/ext/SkMemory_new_handler.cpp#newcode60 skia/ext/SkMemory_new_handler.cpp:60: bool success ALLOW_UNUSED = base::UncheckedMalloc(size, &result); ...
6 years, 8 months ago (2014-04-01 21:05:02 UTC) #12
Nico
https://codereview.chromium.org/220273002/diff/40001/skia/ext/SkMemory_new_handler.cpp File skia/ext/SkMemory_new_handler.cpp (right): https://codereview.chromium.org/220273002/diff/40001/skia/ext/SkMemory_new_handler.cpp#newcode60 skia/ext/SkMemory_new_handler.cpp:60: bool success ALLOW_UNUSED = base::UncheckedMalloc(size, &result); On 2014/04/01 21:05:02, ...
6 years, 8 months ago (2014-04-01 21:06:19 UTC) #13
kbalazs
The CQ bit was checked by b.kelemen@samsung.com
6 years, 8 months ago (2014-04-01 21:12:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/b.kelemen@samsung.com/220273002/60001
6 years, 8 months ago (2014-04-01 21:12:20 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-01 21:12:22 UTC) #16
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 8 months ago (2014-04-01 21:12:23 UTC) #17
Nico
patch set 4 lgtm
6 years, 8 months ago (2014-04-01 21:14:16 UTC) #18
kbalazs
The CQ bit was checked by b.kelemen@samsung.com
6 years, 8 months ago (2014-04-01 21:17:57 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/b.kelemen@samsung.com/220273002/60001
6 years, 8 months ago (2014-04-01 22:53:47 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-02 01:14:43 UTC) #21
commit-bot: I haz the power
Retried try job too often on ios_rel_device_ninja for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_rel_device_ninja&number=9228
6 years, 8 months ago (2014-04-02 01:14:43 UTC) #22
kbalazs
On 2014/04/02 01:14:43, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 8 months ago (2014-04-02 17:19:04 UTC) #23
kbalazs
The CQ bit was checked by b.kelemen@samsung.com
6 years, 8 months ago (2014-04-03 22:41:21 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/b.kelemen@samsung.com/220273002/80001
6 years, 8 months ago (2014-04-03 22:41:56 UTC) #25
commit-bot: I haz the power
6 years, 8 months ago (2014-04-04 03:27:05 UTC) #26
Message was sent while issue was closed.
Change committed as 261643

Powered by Google App Engine
This is Rietveld 408576698