Index: third_party/WebKit/Source/core/editing/commands/WrapContentsInDummySpanCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/WrapContentsInDummySpanCommand.cpp b/third_party/WebKit/Source/core/editing/commands/WrapContentsInDummySpanCommand.cpp |
index fd95b9267e4db7baddf8772889dd2fd9addbea4f..7b2626d75572b05b3f4007661f17e2d8e63bdcde 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/WrapContentsInDummySpanCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/WrapContentsInDummySpanCommand.cpp |
@@ -42,9 +42,9 @@ void WrapContentsInDummySpanCommand::executeApply() { |
getChildNodes(*m_element, children); |
for (auto& child : children) |
- m_dummySpan->appendChild(child.release(), IGNORE_EXCEPTION); |
+ m_dummySpan->appendChild(child.release(), IGNORE_EXCEPTION_FOR_TESTING); |
- m_element->appendChild(m_dummySpan.get(), IGNORE_EXCEPTION); |
+ m_element->appendChild(m_dummySpan.get(), IGNORE_EXCEPTION_FOR_TESTING); |
} |
void WrapContentsInDummySpanCommand::doApply(EditingState*) { |
@@ -63,9 +63,9 @@ void WrapContentsInDummySpanCommand::doUnapply() { |
getChildNodes(*m_dummySpan, children); |
for (auto& child : children) |
- m_element->appendChild(child.release(), IGNORE_EXCEPTION); |
+ m_element->appendChild(child.release(), IGNORE_EXCEPTION_FOR_TESTING); |
- m_dummySpan->remove(IGNORE_EXCEPTION); |
+ m_dummySpan->remove(IGNORE_EXCEPTION_FOR_TESTING); |
} |
void WrapContentsInDummySpanCommand::doReapply() { |