| Index: Source/core/editing/FrameSelection.cpp
|
| diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp
|
| index 822ad5250f7e7486c10ec1206bff99344fd20bcc..73c20cfc91b77b59650887a48d100b532ab36c7a 100644
|
| --- a/Source/core/editing/FrameSelection.cpp
|
| +++ b/Source/core/editing/FrameSelection.cpp
|
| @@ -1938,12 +1938,12 @@ GranularityStrategy* FrameSelection::granularityStrategy()
|
| return m_granularityStrategy.get();
|
| }
|
|
|
| -void FrameSelection::moveRangeSelectionExtent(const VisiblePosition& extentPosition)
|
| +void FrameSelection::moveRangeSelectionExtent(const IntPoint& framePoint)
|
| {
|
| - if (isNone() || m_selection.visibleBase() == extentPosition)
|
| + if (isNone())
|
| return;
|
|
|
| - VisibleSelection newSelection = granularityStrategy()->updateExtent(extentPosition, selection());
|
| + VisibleSelection newSelection = granularityStrategy()->updateExtent(framePoint, m_frame);
|
| setSelection(
|
| newSelection,
|
| FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle | FrameSelection::DoNotClearStrategy | UserTriggered,
|
|
|