| Index: Source/core/frame/LocalFrame.cpp
|
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
|
| index 94bca0a49404330f94b1aaf6a3e3d1895a5e7e39..5532688f6f3de6ac46bb645f86bb02cc3d602af9 100644
|
| --- a/Source/core/frame/LocalFrame.cpp
|
| +++ b/Source/core/frame/LocalFrame.cpp
|
| @@ -676,12 +676,12 @@ VisiblePosition LocalFrame::visiblePositionForPoint(const IntPoint& framePoint)
|
| return visiblePos;
|
| }
|
|
|
| -Document* LocalFrame::documentAtPoint(const IntPoint& point)
|
| +Document* LocalFrame::documentAtPoint(const IntPoint& pointInRootFrame)
|
| {
|
| if (!view())
|
| return nullptr;
|
|
|
| - IntPoint pt = view()->windowToContents(point);
|
| + IntPoint pt = view()->rootFrameToContents(pointInRootFrame);
|
| HitTestResult result = HitTestResult(pt);
|
|
|
| if (contentRenderer())
|
|
|