summaryrefslogtreecommitdiffstats
path: root/base/mac/objc_property_releaser.mm
Commit message (Collapse)AuthorAgeFilesLines
* Fix ReleasableInstanceName to account for the fact that the V propertymark@chromium.org2011-04-261-21/+36
| | | | | | | | | | | | | | | | | attribute isn't always last, despite what the documentation says. Add a CHECK that trips when a property's attributes indicates that it has a named instance variable backing it but no such instance variable is found in the object. Beef up the Sesame Street unit test to give ReleasableInstanceName a more thorough test. BUG=none TEST=none Review URL: http://codereview.chromium.org/6902035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83054 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce ObjCPropertyReleaser for automatic releasing of Objective-Cmark@chromium.org2011-04-201-0/+116
properties marked "retain" or "copy" backed by synthesized instance variables. BUG=none TEST=base_unittests ObjCPropertyReleaserTest.SesameStreet Review URL: http://codereview.chromium.org/6881091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82383 0039d316-1c4b-4281-b951-d872f2087c98