Reviewed by Darin.
[WebKit-https.git] / WebCore / bindings / objc / DOM.mm
index d7a206b..2978999 100644 (file)
@@ -613,12 +613,12 @@ ObjCNodeFilterCondition::ObjCNodeFilterCondition(id <DOMNodeFilter> filter)
     : m_filter(filter)
 {
     ASSERT(m_filter);
-    CFRetain(m_filter);
+    HardRetain(m_filter);
 }
 
 ObjCNodeFilterCondition::~ObjCNodeFilterCondition()
 {
-    CFRelease(m_filter);
+    HardRelease(m_filter);
 }
 
 short ObjCNodeFilterCondition::acceptNode(WebCore::Node* node) const