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 7d31cb0ae42161fbf46a576ae446e5aa02282171..64d4580cbb691bf9c0232aa91d4880b469b3d9a0 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -1201,7 +1201,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; |
} |