Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
index 9db040022db6d5daf733654685a0c2eb891576f5..e147e0bd7c31b2df96060972a7560e820a5e527b 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -1200,7 +1200,7 @@ bool LayoutBox::nodeAtPoint(HitTestResult& result, const HitTestLocation& locati |
boundsRect.moveBy(adjustedLocation); |
if (visibleToHitTestRequest(result.hitTestRequest()) && action == HitTestForeground && locationInContainer.intersects(boundsRect)) { |
updateHitTestResult(result, locationInContainer.point() - toLayoutSize(adjustedLocation)); |
- if (!result.addNodeToListBasedTestResult(node(), locationInContainer, boundsRect)) |
+ if (result.addNodeToListBasedTestResult(node(), locationInContainer, boundsRect) == StopHitTesting) |
return true; |
} |