summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/Attr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/dom/Attr.cpp')
-rw-r--r--WebCore/dom/Attr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/dom/Attr.cpp b/WebCore/dom/Attr.cpp
index 2ef5f9b..597f9ba 100644
--- a/WebCore/dom/Attr.cpp
+++ b/WebCore/dom/Attr.cpp
@@ -38,10 +38,10 @@ inline Attr::Attr(Element* element, Document* document, PassRefPtr<Attribute> at
, m_element(element)
, m_attribute(attribute)
, m_ignoreChildrenChanged(0)
- , m_specified(true)
+ , m_specified(true)
{
ASSERT(!m_attribute->attr());
- m_attribute->m_impl = this;
+ m_attribute->bindAttr(this);
}
PassRefPtr<Attr> Attr::create(Element* element, Document* document, PassRefPtr<Attribute> attribute)
@@ -54,7 +54,7 @@ PassRefPtr<Attr> Attr::create(Element* element, Document* document, PassRefPtr<A
Attr::~Attr()
{
ASSERT(m_attribute->attr() == this);
- m_attribute->m_impl = 0;
+ m_attribute->unbindAttr(this);
}
void Attr::createTextChild()