Index: Source/core/editing/DeleteSelectionCommand.cpp |
diff --git a/Source/core/editing/DeleteSelectionCommand.cpp b/Source/core/editing/DeleteSelectionCommand.cpp |
index 54e05ac2a2b48ce8c5839889b39347982957f06b..019429b337b019f8c99ffa10dff0e7911e47f957 100644 |
--- a/Source/core/editing/DeleteSelectionCommand.cpp |
+++ b/Source/core/editing/DeleteSelectionCommand.cpp |
@@ -166,7 +166,7 @@ void DeleteSelectionCommand::initializePositionData() |
ASSERT(isEditablePosition(start, ContentIsEditable, DoNotUpdateStyle)); |
if (!isEditablePosition(end, ContentIsEditable, DoNotUpdateStyle)) |
- end = lastEditableVisiblePositionBeforePositionInRoot(end, highestEditableRoot(start)).deepEquivalent(); |
+ end = lastEditablePositionBeforePositionInRoot(end, highestEditableRoot(start)); |
m_upstreamStart = start.upstream(); |
m_downstreamStart = start.downstream(); |