summaryrefslogtreecommitdiffstats
path: root/base/mac/objc_property_releaser.mm
diff options
context:
space:
mode:
Diffstat (limited to 'base/mac/objc_property_releaser.mm')
-rw-r--r--base/mac/objc_property_releaser.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/mac/objc_property_releaser.mm b/base/mac/objc_property_releaser.mm
index f7ee88f..bd7a750 100644
--- a/base/mac/objc_property_releaser.mm
+++ b/base/mac/objc_property_releaser.mm
@@ -98,8 +98,8 @@ void ObjCPropertyReleaser::Init(id object, Class classy) {
}
void ObjCPropertyReleaser::ReleaseProperties() {
- DCHECK(object_);
- DCHECK(class_);
+ CHECK(object_);
+ CHECK(class_);
unsigned int property_count = 0;
objc_property_t* properties = class_copyPropertyList(class_, &property_count);
@@ -114,7 +114,7 @@ void ObjCPropertyReleaser::ReleaseProperties() {
Ivar instance_variable =
object_getInstanceVariable(object_, instance_name.c_str(),
(void**)&instance_value);
- DCHECK(instance_variable);
+ CHECK(instance_variable);
[instance_value release];
}
}