| Index: Source/core/dom/Attr.cpp
|
| diff --git a/Source/core/dom/Attr.cpp b/Source/core/dom/Attr.cpp
|
| index 8f125c3001b544178e19b49896d95dfc8544cca0..9ea92c58bfb6f448f5992a0fc2a86adc9d84b4d0 100644
|
| --- a/Source/core/dom/Attr.cpp
|
| +++ b/Source/core/dom/Attr.cpp
|
| @@ -219,15 +219,9 @@ void Attr::attachToElement(Element* element, const AtomicString& attachedLocalNa
|
| m_standaloneValueOrAttachedLocalName = attachedLocalName;
|
| }
|
|
|
| -void Attr::clearWeakMembers(Visitor* visitor)
|
| -{
|
| - if (m_element && !visitor->isAlive(m_element))
|
| - detachFromElementWithValue(value());
|
| -}
|
| -
|
| void Attr::trace(Visitor* visitor)
|
| {
|
| - visitor->registerWeakMembers<Attr, &Attr::clearWeakMembers>(this);
|
| + visitor->trace(m_element);
|
| ContainerNode::trace(visitor);
|
| }
|
|
|
|
|