Index: third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.cpp |
index 7230115767e0c4fd15580d7466a8402abfb8ec0d..77a0e8868a6e0cfeeb02709a9a822f258d0ecefd 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.cpp |
@@ -58,7 +58,8 @@ void InsertNodeBeforeCommand::doApply(EditingState*) { |
return; |
DCHECK(hasEditableStyle(*parent)) << parent; |
- parent->insertBefore(m_insertChild.get(), m_refChild.get(), IGNORE_EXCEPTION); |
+ parent->insertBefore(m_insertChild.get(), m_refChild.get(), |
+ IGNORE_EXCEPTION_FOR_TESTING); |
} |
void InsertNodeBeforeCommand::doUnapply() { |
@@ -66,7 +67,7 @@ void InsertNodeBeforeCommand::doUnapply() { |
if (!hasEditableStyle(*m_insertChild)) |
return; |
- m_insertChild->remove(IGNORE_EXCEPTION); |
+ m_insertChild->remove(IGNORE_EXCEPTION_FOR_TESTING); |
} |
DEFINE_TRACE(InsertNodeBeforeCommand) { |