| Index: third_party/WebKit/Source/core/editing/commands/SplitElementCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/SplitElementCommand.cpp b/third_party/WebKit/Source/core/editing/commands/SplitElementCommand.cpp
|
| index cea76b1420611e349985b7dd0f94a792ab77d1b1..2e39da63a1baa622881c20b340dd8ff9bfff73cc 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/SplitElementCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/SplitElementCommand.cpp
|
| @@ -85,14 +85,14 @@ void SplitElementCommand::doUnapply() {
|
| Node* refChild = m_element2->firstChild();
|
|
|
| for (const auto& child : children)
|
| - m_element2->insertBefore(child, refChild, IGNORE_EXCEPTION);
|
| + m_element2->insertBefore(child, refChild, IGNORE_EXCEPTION_FOR_TESTING);
|
|
|
| // Recover the id attribute of the original element.
|
| const AtomicString& id = m_element1->getAttribute(HTMLNames::idAttr);
|
| if (!id.isNull())
|
| m_element2->setAttribute(HTMLNames::idAttr, id);
|
|
|
| - m_element1->remove(IGNORE_EXCEPTION);
|
| + m_element1->remove(IGNORE_EXCEPTION_FOR_TESTING);
|
| }
|
|
|
| void SplitElementCommand::doReapply() {
|
|
|