| Index: third_party/WebKit/Source/core/html/FormAssociatedElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/FormAssociatedElement.cpp b/third_party/WebKit/Source/core/html/FormAssociatedElement.cpp
|
| index e25869998c2011b520d63510a62b98cea8688e54..76fb98912630509da4b5480110a56d4189a35d4f 100644
|
| --- a/third_party/WebKit/Source/core/html/FormAssociatedElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/FormAssociatedElement.cpp
|
| @@ -129,7 +129,7 @@ HTMLFormElement* FormAssociatedElement::findAssociatedForm(const HTMLElement* el
|
|
|
| void FormAssociatedElement::formRemovedFromTree(const Node& formRoot)
|
| {
|
| - ASSERT(m_form);
|
| + DCHECK(m_form);
|
| if (NodeTraversal::highestAncestorOrSelf(toHTMLElement(*this)) == formRoot)
|
| return;
|
| resetFormOwner();
|
| @@ -315,7 +315,7 @@ const HTMLElement& toHTMLElement(const FormAssociatedElement& associatedElement)
|
|
|
| const HTMLElement* toHTMLElement(const FormAssociatedElement* associatedElement)
|
| {
|
| - ASSERT(associatedElement);
|
| + DCHECK(associatedElement);
|
| return &toHTMLElement(*associatedElement);
|
| }
|
|
|
|
|