Index: Source/core/dom/TreeScope.h |
diff --git a/Source/core/dom/TreeScope.h b/Source/core/dom/TreeScope.h |
index 26154da58c77ee3f7e5062e1e3a53496d958fa58..2962b595ca2f1a58c59fd2b9d3d967c958543ea3 100644 |
--- a/Source/core/dom/TreeScope.h |
+++ b/Source/core/dom/TreeScope.h |
@@ -39,6 +39,7 @@ class Document; |
class Element; |
class HTMLLabelElement; |
class HTMLMapElement; |
+class HitTestResult; |
class LayoutPoint; |
class IdTargetObserverRegistry; |
class Node; |
@@ -194,7 +195,7 @@ inline bool operator!=(const TreeScope& a, const TreeScope& b) { return !(a == b |
inline bool operator!=(const TreeScope& a, const TreeScope* b) { return !(a == b); } |
inline bool operator!=(const TreeScope* a, const TreeScope& b) { return !(a == b); } |
-RenderObject* rendererFromPoint(Document*, int x, int y, LayoutPoint* localPoint = 0); |
+HitTestResult hitTestInDocument(const Document&, int x, int y); |
TreeScope* commonTreeScope(Node*, Node*); |
} // namespace WebCore |