Index: Source/core/editing/FrameSelection.cpp |
diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp |
index 0e39c4918123056d510d331265de9d31113ddb91..0cb682f643ce648cd3916e4093ffbb688e47085f 100644 |
--- a/Source/core/editing/FrameSelection.cpp |
+++ b/Source/core/editing/FrameSelection.cpp |
@@ -1299,8 +1299,8 @@ bool FrameSelection::contains(const LayoutPoint& point) |
return false; |
HitTestRequest request(HitTestRequest::ReadOnly | HitTestRequest::Active); |
- HitTestResult result(point); |
- document->layoutView()->hitTest(request, result); |
+ HitTestResult result(request, point); |
+ document->layoutView()->hitTest(result); |
Node* innerNode = result.innerNode(); |
if (!innerNode || !innerNode->layoutObject()) |
return false; |