Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index c4e2a58fb8750de253e6424681f1b72fd974c613..363ecc32f89e861096e465f995bc7b9e867e33a7 100644 |
--- a/Source/web/WebLocalFrameImpl.cpp |
+++ b/Source/web/WebLocalFrameImpl.cpp |
@@ -1298,7 +1298,7 @@ VisiblePosition WebLocalFrameImpl::visiblePositionForViewportPoint(const WebPoin |
{ |
HitTestRequest request = HitTestRequest::Move | HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::IgnoreClipping; |
HitTestResult result(frame()->view()->viewportToContents(pointInViewport)); |
- frame()->document()->layoutView()->layer()->hitTest(request, result); |
+ frame()->document()->layoutView()->hitTest(request, result); |
if (Node* node = result.innerNode()) |
return frame()->selection().selection().visiblePositionRespectingEditingBoundary(result.localPoint(), node); |