Index: third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp |
index 008dfbcb9b7475f3c3aac399068c10e08a4fc9e0..1c470e02411be25118b5135c1d47590aa9acadb0 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp |
@@ -62,7 +62,7 @@ void InsertIntoTextNodeCommand::doApply(EditingState*) { |
m_text.length() - 1); |
} |
- m_node->insertData(m_offset, m_text, IGNORE_EXCEPTION); |
+ m_node->insertData(m_offset, m_text, IGNORE_EXCEPTION_FOR_TESTING); |
document().updateStyleAndLayout(); |
} |
@@ -70,7 +70,7 @@ void InsertIntoTextNodeCommand::doUnapply() { |
if (!hasEditableStyle(*m_node)) |
return; |
- m_node->deleteData(m_offset, m_text.length(), IGNORE_EXCEPTION); |
+ m_node->deleteData(m_offset, m_text.length(), IGNORE_EXCEPTION_FOR_TESTING); |
document().updateStyleAndLayout(); |
} |