| Index: Source/core/frame/LocalFrame.cpp
|
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
|
| index decf938ae111770ca07bd2c53beeaed53e664cc9..7f462b0c8a603e05862ea7138ba88b2e9808fd8b 100644
|
| --- a/Source/core/frame/LocalFrame.cpp
|
| +++ b/Source/core/frame/LocalFrame.cpp
|
| @@ -707,7 +707,7 @@ EphemeralRange LocalFrame::rangeForPoint(const IntPoint& framePoint)
|
| return EphemeralRange();
|
|
|
| VisiblePosition position(positionWithAffinity);
|
| - VisiblePosition previous = position.previous();
|
| + VisiblePosition previous = previousPositionOf(position);
|
| if (previous.isNotNull()) {
|
| const EphemeralRange previousCharacterRange = makeRange(previous, position);
|
| IntRect rect = editor().firstRectForRange(previousCharacterRange);
|
|
|