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

Issue 292011: Fixes up scoped_nsobject so that you don't accidentally release the object... (Closed)

Created:
11 years, 2 months ago by dmac
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org
Visibility:
Public.

Description

Forces user to use ScopedNSAutoreleasePool instead of using NSAutoreleasePool with scoped_nsobject. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29399

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -0 lines) Patch
M base/scoped_nsobject.h View 1 4 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
dmac
See what you think of this. Should help prevent stupid future errors/misuses of scoped_nsobject.
11 years, 2 months ago (2009-10-19 00:45:28 UTC) #1
Mark Mentovai
http://codereview.chromium.org/292011/diff/1/2 File base/scoped_nsobject.h (right): http://codereview.chromium.org/292011/diff/1/2#newcode22 Line 22: // scoped_nsobject<> is not to be used for ...
11 years, 2 months ago (2009-10-19 01:17:17 UTC) #2
dmac
> http://codereview.chromium.org/292011/diff/1/2#newcode22 > Line 22: // scoped_nsobject<> is not to be used for NSAutoReleasePools. For ...
11 years, 2 months ago (2009-10-19 04:19:58 UTC) #3
Mark Mentovai
LGTM. Also, fix the change description. No biggie on the equality check. The revision history ...
11 years, 2 months ago (2009-10-19 13:17:01 UTC) #4
pink (ping after 24hrs)
11 years, 2 months ago (2009-10-19 14:24:56 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698