| Index: Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
|
| index 0fa9662961224a21d5f111b864981fb4f903eca5..183658ab314add3040a9302debe2ef41ea1c8e2e 100644
|
| --- a/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/Source/web/WebLocalFrameImpl.cpp
|
| @@ -1198,12 +1198,9 @@ void WebLocalFrameImpl::selectRange(const WebRange& webRange)
|
| frame()->selection().setSelectedRange(range.get(), VP_DEFAULT_AFFINITY, FrameSelection::NonDirectional, NotUserTriggered);
|
| }
|
|
|
| -void WebLocalFrameImpl::moveRangeSelectionExtent(const WebPoint& point, WebFrame::TextGranularity granularity)
|
| +void WebLocalFrameImpl::moveRangeSelectionExtent(const WebPoint& point)
|
| {
|
| - blink::TextGranularity blinkGranularity = blink::CharacterGranularity;
|
| - if (granularity == WebFrame::WordGranularity)
|
| - blinkGranularity = blink::WordGranularity;
|
| - frame()->selection().moveRangeSelectionExtent(visiblePositionForWindowPoint(point), blinkGranularity);
|
| + frame()->selection().moveRangeSelectionExtent(visiblePositionForWindowPoint(point));
|
| }
|
|
|
| void WebLocalFrameImpl::moveRangeSelection(const WebPoint& base, const WebPoint& extent, WebFrame::TextGranularity granularity)
|
|
|