| Index: Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
|
| index a8b13fd5f447584e00d65ee06be89875e188dc4d..c87a9e71de7aa96306f319c17a8a6e25166f9175 100644
|
| --- a/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/Source/web/WebLocalFrameImpl.cpp
|
| @@ -1305,8 +1305,8 @@ void WebLocalFrameImpl::setCaretVisible(bool visible)
|
| VisiblePosition WebLocalFrameImpl::visiblePositionForViewportPoint(const WebPoint& pointInViewport)
|
| {
|
| HitTestRequest request = HitTestRequest::Move | HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::IgnoreClipping;
|
| - HitTestResult result(frame()->view()->viewportToContents(pointInViewport));
|
| - frame()->document()->layoutView()->layer()->hitTest(request, result);
|
| + HitTestResult result(request, frame()->view()->viewportToContents(pointInViewport));
|
| + frame()->document()->layoutView()->layer()->hitTest(result);
|
|
|
| if (Node* node = result.innerNode())
|
| return frame()->selection().selection().visiblePositionRespectingEditingBoundary(result.localPoint(), node);
|
|
|