Index: Source/core/editing/FrameSelection.cpp |
diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp |
index 23ed26c171e1e9047368c79b5a16472e77bd720a..ec3aeb755a65e90c20cc023ad8b498c40e858af2 100644 |
--- a/Source/core/editing/FrameSelection.cpp |
+++ b/Source/core/editing/FrameSelection.cpp |
@@ -590,7 +590,7 @@ |
static void adjustPositionForUserSelectAll(VisiblePosition& pos, bool isForward) |
{ |
if (Node* rootUserSelectAll = Position::rootUserSelectAllForNode(pos.deepEquivalent().anchorNode())) |
- pos = VisiblePosition(isForward ? positionAfterNode(*rootUserSelectAll).downstream(CanCrossEditingBoundary) : positionBeforeNode(*rootUserSelectAll).upstream(CanCrossEditingBoundary)); |
+ pos = VisiblePosition(isForward ? positionAfterNode(rootUserSelectAll).downstream(CanCrossEditingBoundary) : positionBeforeNode(rootUserSelectAll).upstream(CanCrossEditingBoundary)); |
} |
VisiblePosition FrameSelection::modifyExtendingRight(TextGranularity granularity) |