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