Index: third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.cpp b/third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.cpp |
index 2439378d942674333ab0a2e9af5691496e9528e8..3ed9063fdae7e8a5baafeb815e7befddbe175d61 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.cpp |
@@ -51,7 +51,8 @@ void SplitTextNodeCommand::doApply(EditingState*) { |
if (!parent || !hasEditableStyle(*parent)) |
return; |
- String prefixText = m_text2->substringData(0, m_offset, IGNORE_EXCEPTION); |
+ String prefixText = |
+ m_text2->substringData(0, m_offset, IGNORE_EXCEPTION_FOR_TESTING); |
if (prefixText.isEmpty()) |
return; |