Index: third_party/WebKit/Source/core/editing/commands/SimplifyMarkupCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/SimplifyMarkupCommand.cpp b/third_party/WebKit/Source/core/editing/commands/SimplifyMarkupCommand.cpp |
index e7edd8f89dc963c4b0d1e078608d7302873c884a..538e7e3d638be436f7606bd06114226acc4b576a 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/SimplifyMarkupCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/SimplifyMarkupCommand.cpp |
@@ -113,9 +113,9 @@ int SimplifyMarkupCommand::pruneSubsequentAncestorsToRemove(WillBeHeapVector<Ref |
if (pastLastNodeToRemove == startNodeIndex + 1) |
return 0; |
- removeNode(nodesToRemove[startNodeIndex], AssumeContentIsAlwaysEditable); |
+ removeNode(nodesToRemove[startNodeIndex], ASSERT_NO_EDITING_ABORT, AssumeContentIsAlwaysEditable); |
insertNodeBefore(nodesToRemove[startNodeIndex], highestAncestorToRemove, AssumeContentIsAlwaysEditable); |
- removeNode(highestAncestorToRemove, AssumeContentIsAlwaysEditable); |
+ removeNode(highestAncestorToRemove, ASSERT_NO_EDITING_ABORT, AssumeContentIsAlwaysEditable); |
return pastLastNodeToRemove - startNodeIndex - 1; |
} |