| Index: Source/core/frame/LocalFrame.cpp
|
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
|
| index 64a1032dd52822c215722a3bb8ee72a01a7e3d1f..44ce13e81e0019c0d22bc907f807098d923b2269 100644
|
| --- a/Source/core/frame/LocalFrame.cpp
|
| +++ b/Source/core/frame/LocalFrame.cpp
|
| @@ -706,7 +706,7 @@ EphemeralRange LocalFrame::rangeForPoint(const IntPoint& framePoint)
|
| if (positionWithAffinity.isNull())
|
| return EphemeralRange();
|
|
|
| - VisiblePosition position(positionWithAffinity);
|
| + VisiblePosition position = visiblePositionOf(positionWithAffinity);
|
| VisiblePosition previous = previousPositionOf(position);
|
| if (previous.isNotNull()) {
|
| const EphemeralRange previousCharacterRange = makeRange(previous, position);
|
|
|