| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index bc2c7c406117f533d2bcbefe94e5f18bd9af94cb..048846be23aa2654b5c9208270c1dde4770af6d6 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);
|
|
|