Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(908)

Unified Diff: Source/core/frame/LocalFrame.cpp

Issue 967213004: Removed FrameView's windowToContents and contentsToWindow methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/LocalFrame.cpp
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
index 0ea5a2a94226d77baa61646f02961e34e0f4ec28..e12bbba282e6d19d101a7c34a96c0af79b93c7f1 100644
--- a/Source/core/frame/LocalFrame.cpp
+++ b/Source/core/frame/LocalFrame.cpp
@@ -699,12 +699,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())

Powered by Google App Engine
This is Rietveld 408576698