| Index: third_party/WebKit/Source/core/dom/Attr.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Attr.cpp b/third_party/WebKit/Source/core/dom/Attr.cpp
|
| index 2b21fa995ed8a648a1b4c5dfd5ae6722cb19d1f5..e6cf3a7f50060999f7600591fc55b4b92fd22854 100644
|
| --- a/third_party/WebKit/Source/core/dom/Attr.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Attr.cpp
|
| @@ -123,14 +123,14 @@ RawPtr<Node> Attr::cloneNode(bool /*deep*/)
|
|
|
| void Attr::detachFromElementWithValue(const AtomicString& value)
|
| {
|
| - ASSERT(m_element);
|
| + DCHECK(m_element);
|
| m_standaloneValueOrAttachedLocalName = value;
|
| m_element = nullptr;
|
| }
|
|
|
| void Attr::attachToElement(Element* element, const AtomicString& attachedLocalName)
|
| {
|
| - ASSERT(!m_element);
|
| + DCHECK(!m_element);
|
| m_element = element;
|
| m_standaloneValueOrAttachedLocalName = attachedLocalName;
|
| }
|
|
|