| Index: third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.cpp
|
| index a03ef621902aba1f5327056ae03951f336b4d7b5..b4f56c6ce84fe044fdf6e65bb5cace53abc29091 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.cpp
|
| @@ -45,12 +45,12 @@ ReplaceNodeWithSpanCommand::ReplaceNodeWithSpanCommand(HTMLElement* element)
|
| : SimpleEditCommand(element->document())
|
| , m_elementToReplace(element)
|
| {
|
| - ASSERT(m_elementToReplace);
|
| + DCHECK(m_elementToReplace);
|
| }
|
|
|
| static void swapInNodePreservingAttributesAndChildren(HTMLElement* newElement, HTMLElement& elementToReplace)
|
| {
|
| - ASSERT(elementToReplace.inShadowIncludingDocument());
|
| + DCHECK(elementToReplace.inShadowIncludingDocument());
|
| ContainerNode* parentNode = elementToReplace.parentNode();
|
| parentNode->insertBefore(newElement, &elementToReplace);
|
|
|
|
|