Index: Source/core/editing/CompositeEditCommand.cpp |
diff --git a/Source/core/editing/CompositeEditCommand.cpp b/Source/core/editing/CompositeEditCommand.cpp |
index 20c6ca62f0b1df163c48b7c4be6c5a3ee810d785..f4e5882d405e1ba72eb7484d4c339d5f452e8d85 100644 |
--- a/Source/core/editing/CompositeEditCommand.cpp |
+++ b/Source/core/editing/CompositeEditCommand.cpp |
@@ -790,7 +790,6 @@ void CompositeEditCommand::deleteInsignificantText(PassRefPtr<Text> textNode, un |
int gapLen = gapEnd - gapStart; |
if (indicesIntersect && gapLen > 0) { |
gapStart = max(gapStart, start); |
- gapEnd = min(gapEnd, end); |
if (str.isNull()) |
str = textNode->data().substring(start, end - start); |
// remove text in the gap |