summaryrefslogtreecommitdiff
path: root/Source/WebCore/testing/Internals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/testing/Internals.cpp')
-rw-r--r--Source/WebCore/testing/Internals.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/Source/WebCore/testing/Internals.cpp b/Source/WebCore/testing/Internals.cpp
index 04cfecd0d..369481422 100644
--- a/Source/WebCore/testing/Internals.cpp
+++ b/Source/WebCore/testing/Internals.cpp
@@ -972,15 +972,8 @@ PassRefPtr<NodeList> Internals::nodesFromRect(Document* document, int x, int y,
ec = INVALID_ACCESS_ERR;
return 0;
}
- HitTestRequest::HitTestRequestType hitType = HitTestRequest::ReadOnly | HitTestRequest::Active;
- if (ignoreClipping)
- hitType |= HitTestRequest::IgnoreClipping;
- if (allowShadowContent)
- hitType |= HitTestRequest::AllowShadowContent;
- if (allowChildFrameContent)
- hitType |= HitTestRequest::AllowChildFrameContent;
-
- return document->nodesFromRect(x, y, topPadding, rightPadding, bottomPadding, leftPadding, hitType);
+
+ return document->nodesFromRect(x, y, topPadding, rightPadding, bottomPadding, leftPadding, ignoreClipping, allowShadowContent, allowChildFrameContent);
}
void Internals::emitInspectorDidBeginFrame()