Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index f0c308a4aa384e11cbd4b007701a7e48980ceb96..429a9fc96845d790a41fcd9866b1a90edc3a1540 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -1372,8 +1372,8 @@ PassRefPtrWillBeRawPtr<StaticNodeList> Internals::nodesFromRect(Document* docume |
return nullptr; |
WillBeHeapVector<RefPtrWillBeMember<Node>> matches; |
- HitTestResult result(point, topPadding, rightPadding, bottomPadding, leftPadding); |
- layoutView->hitTest(request, result); |
+ HitTestResult result(request, point, topPadding, rightPadding, bottomPadding, leftPadding); |
+ layoutView->hitTest(result); |
copyToVector(result.listBasedTestResult(), matches); |
return StaticNodeList::adopt(matches); |