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

Issue 10388060: Make Callback.Reset safe against deleting itself. (Closed)

Created:
8 years, 7 months ago by mattm
Modified:
8 years, 6 months ago
CC:
chromium-reviews, erikwright (departed), brettw-cc_chromium.org
Visibility:
Public.

Description

Make Callback.Reset safe against deleting itself. BUG=99159 TEST=CallbackTest.ResetRefCountedOwnerOfCallback Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142011

Patch Set 1 #

Total comments: 8

Patch Set 2 : review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -1 line) Patch
M base/callback_internal.cc View 1 chunk +3 lines, -1 line 0 comments Download
M base/callback_unittest.cc View 1 2 chunks +32 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
mattm
8 years, 7 months ago (2012-05-09 23:37:28 UTC) #1
mattm
Forgot about this CL. I guess you're back now, can you take a look? thanks.
8 years, 6 months ago (2012-06-08 03:59:50 UTC) #2
awong
oops...thanks for reminding me. Just a few style nits. Thanks for fixing this! http://codereview.chromium.org/10388060/diff/1/base/callback_unittest.cc File ...
8 years, 6 months ago (2012-06-08 17:33:15 UTC) #3
mattm
http://codereview.chromium.org/10388060/diff/1/base/callback_unittest.cc File base/callback_unittest.cc (right): http://codereview.chromium.org/10388060/diff/1/base/callback_unittest.cc#newcode151 base/callback_unittest.cc:151: CallbackOwner(bool *deleted) { On 2012/06/08 17:33:15, awong wrote: > ...
8 years, 6 months ago (2012-06-09 02:10:56 UTC) #4
awong
LGTM! On Fri, Jun 8, 2012 at 7:10 PM, <mattm@chromium.org> wrote: > > http://codereview.chromium.**org/10388060/diff/1/base/** > ...
8 years, 6 months ago (2012-06-09 02:40:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mattm@chromium.org/10388060/10002
8 years, 6 months ago (2012-06-11 22:45:39 UTC) #6
commit-bot: I haz the power
Presubmit check for 10388060-10002 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 6 months ago (2012-06-11 22:45:44 UTC) #7
mattm
+willchan for OWNERS
8 years, 6 months ago (2012-06-11 22:46:50 UTC) #8
willchan no longer on Chromium
lgtm
8 years, 6 months ago (2012-06-13 20:21:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mattm@chromium.org/10388060/10002
8 years, 6 months ago (2012-06-13 21:18:52 UTC) #10
commit-bot: I haz the power
8 years, 6 months ago (2012-06-13 23:15:32 UTC) #11
Change committed as 142011

Powered by Google App Engine
This is Rietveld 408576698