| Index: sky/engine/web/WebLocalFrameImpl.cpp
|
| diff --git a/sky/engine/web/WebLocalFrameImpl.cpp b/sky/engine/web/WebLocalFrameImpl.cpp
|
| index 79a4179b17669c5349838360fa7d7e212e0aedb7..94d5c6480c0653e467795e8a6812634e776b90e4 100644
|
| --- a/sky/engine/web/WebLocalFrameImpl.cpp
|
| +++ b/sky/engine/web/WebLocalFrameImpl.cpp
|
| @@ -496,7 +496,7 @@ VisiblePosition WebLocalFrameImpl::visiblePositionForWindowPoint(const WebPoint&
|
| {
|
| HitTestRequest request = HitTestRequest::Move | HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::IgnoreClipping;
|
| HitTestResult result(frame()->view()->windowToContents(roundedIntPoint(FloatPoint(point))));
|
| - frame()->document()->renderView()->layer()->hitTest(request, result);
|
| + frame()->document()->renderView()->layer()->hitTest(request, result.hitTestLocation(), result);
|
|
|
| if (Node* node = result.targetNode())
|
| return frame()->selection().selection().visiblePositionRespectingEditingBoundary(result.localPoint(), node);
|
|
|