Index: Source/core/editing/Editor.cpp |
diff --git a/Source/core/editing/Editor.cpp b/Source/core/editing/Editor.cpp |
index 1fe72cb496c9837afbddd296b6ddc09b416ca329..aee1ba1286300c0ee1a697c4f3912b16379e9105 100644 |
--- a/Source/core/editing/Editor.cpp |
+++ b/Source/core/editing/Editor.cpp |
@@ -255,7 +255,7 @@ bool Editor::canDeleteRange(const EphemeralRange& range) const |
return false; |
if (range.isCollapsed()) { |
- VisiblePosition start(range.startPosition(), DOWNSTREAM); |
+ VisiblePosition start(range.startPosition()); |
VisiblePosition previous = start.previous(); |
// FIXME: We sometimes allow deletions at the start of editable roots, like when the caret is in an empty list item. |
if (previous.isNull() || previous.deepEquivalent().anchorNode()->rootEditableElement() != startContainer->rootEditableElement()) |