Index: Source/core/layout/LayoutTable.cpp |
diff --git a/Source/core/layout/LayoutTable.cpp b/Source/core/layout/LayoutTable.cpp |
index 78a4c7f730bab7819da6390bc8de38bb4d14f995..4154c2aad67266bd4877a99205ac08befbcffcec 100644 |
--- a/Source/core/layout/LayoutTable.cpp |
+++ b/Source/core/layout/LayoutTable.cpp |
@@ -1311,7 +1311,7 @@ LayoutRect LayoutTable::overflowClipRect(const LayoutPoint& location, OverlayScr |
return rect; |
} |
-bool LayoutTable::nodeAtPoint(const HitTestRequest& request, HitTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction action) |
+bool LayoutTable::nodeAtPoint(HitTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction action) |
{ |
LayoutPoint adjustedLocation = accumulatedOffset + location(); |
@@ -1320,7 +1320,7 @@ bool LayoutTable::nodeAtPoint(const HitTestRequest& request, HitTestResult& resu |
for (LayoutObject* child = lastChild(); child; child = child->previousSibling()) { |
if (child->isBox() && !toLayoutBox(child)->hasSelfPaintingLayer() && (child->isTableSection() || child->isTableCaption())) { |
LayoutPoint childPoint = flipForWritingModeForChild(toLayoutBox(child), adjustedLocation); |
- if (child->nodeAtPoint(request, result, locationInContainer, childPoint, action)) { |
+ if (child->nodeAtPoint(result, locationInContainer, childPoint, action)) { |
updateHitTestResult(result, toLayoutPoint(locationInContainer.point() - childPoint)); |
return true; |
} |
@@ -1330,9 +1330,9 @@ bool LayoutTable::nodeAtPoint(const HitTestRequest& request, HitTestResult& resu |
// Check our bounds next. |
LayoutRect boundsRect(adjustedLocation, size()); |
- if (visibleToHitTestRequest(request) && (action == HitTestBlockBackground || action == HitTestChildBlockBackground) && locationInContainer.intersects(boundsRect)) { |
+ if (visibleToHitTestRequest(result.hitTestRequest()) && (action == HitTestBlockBackground || action == HitTestChildBlockBackground) && locationInContainer.intersects(boundsRect)) { |
updateHitTestResult(result, flipForWritingMode(locationInContainer.point() - toLayoutSize(adjustedLocation))); |
- if (!result.addNodeToListBasedTestResult(node(), request, locationInContainer, boundsRect)) |
+ if (!result.addNodeToListBasedTestResult(node(), locationInContainer, boundsRect)) |
return true; |
} |