| Index: Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
|
| index 5085c48eae53626d619a521b43a99b91a2a70acb..2870a494809b70feae529e99cd276cd72ab43896 100644
|
| --- a/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/Source/web/WebLocalFrameImpl.cpp
|
| @@ -1244,12 +1244,9 @@ void WebLocalFrameImpl::selectRange(const WebRange& webRange)
|
| frame()->selection().setSelectedRange(range.get(), VP_DEFAULT_AFFINITY, FrameSelection::NonDirectional, NotUserTriggered);
|
| }
|
|
|
| -void WebLocalFrameImpl::moveRangeSelectionExtent(const WebPoint& pointInViewport, WebFrame::TextGranularity granularity)
|
| +void WebLocalFrameImpl::moveRangeSelectionExtent(const WebPoint& point)
|
| {
|
| - blink::TextGranularity blinkGranularity = blink::CharacterGranularity;
|
| - if (granularity == WebFrame::WordGranularity)
|
| - blinkGranularity = blink::WordGranularity;
|
| - frame()->selection().moveRangeSelectionExtent(visiblePositionForViewportPoint(pointInViewport), blinkGranularity);
|
| + frame()->selection().moveRangeSelectionExtent(visiblePositionForViewportPoint(point));
|
| }
|
|
|
| void WebLocalFrameImpl::moveRangeSelection(const WebPoint& baseInViewport, const WebPoint& extentInViewport, WebFrame::TextGranularity granularity)
|
|
|