Index: third_party/WebKit/Source/core/editing/commands/MergeIdenticalElementsCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/MergeIdenticalElementsCommand.cpp b/third_party/WebKit/Source/core/editing/commands/MergeIdenticalElementsCommand.cpp |
index 5ecedc2dbf0fa8e7172de8360c1c5a5524c1fbc5..cf9cbb6b5f453408580f74229f9558ebf10f55ce 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/MergeIdenticalElementsCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/MergeIdenticalElementsCommand.cpp |
@@ -51,11 +51,12 @@ void MergeIdenticalElementsCommand::doApply(EditingState*) { |
NodeVector children; |
getChildNodes(*m_element1, children); |
- for (auto& child : children) |
+ for (auto& child : children) { |
m_element2->insertBefore(child.release(), m_atChild.get(), |
- IGNORE_EXCEPTION); |
+ IGNORE_EXCEPTION_FOR_TESTING); |
+ } |
- m_element1->remove(IGNORE_EXCEPTION); |
+ m_element1->remove(IGNORE_EXCEPTION_FOR_TESTING); |
} |
void MergeIdenticalElementsCommand::doUnapply() { |