Index: Source/core/layout/LayoutPart.cpp |
diff --git a/Source/core/layout/LayoutPart.cpp b/Source/core/layout/LayoutPart.cpp |
index 35597aea0146a36494d82a4f6d5ae09eed5a8d86..f214f532efad0c70fab20e85b73d2005f3e7e7f4 100644 |
--- a/Source/core/layout/LayoutPart.cpp |
+++ b/Source/core/layout/LayoutPart.cpp |
@@ -169,8 +169,9 @@ bool LayoutPart::nodeAtPoint(HitTestResult& result, const HitTestLocation& locat |
HitTestLocation newHitTestLocation(locationInContainer, -adjustedLocation - contentOffset); |
HitTestRequest newHitTestRequest(result.hitTestRequest().type() | HitTestRequest::ChildFrameHitTest); |
HitTestResult childFrameResult(newHitTestRequest, newHitTestLocation); |
+ childFrameResult.setValidityRect(result.validityRect()); |
- bool isInsideChildFrame = childRoot->hitTest(newHitTestRequest, newHitTestLocation, childFrameResult); |
+ bool isInsideChildFrame = childRoot->hitTest(childFrameResult); |
if (result.hitTestRequest().listBased()) |
result.append(childFrameResult); |