Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp |
index 3674c4907db40f1258903fb77656fce62d6ed1af..485dad1fedb51470f1f1e638460decb932f1c2cd 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp |
@@ -222,7 +222,7 @@ bool LayoutSVGShape::nodeAtFloatPoint(HitTestResult& result, const FloatPoint& p |
if (nodeAtFloatPointInternal(result.hitTestRequest(), localPoint, hitRules)) { |
const LayoutPoint& localLayoutPoint = roundedLayoutPoint(localPoint); |
updateHitTestResult(result, localLayoutPoint); |
- if (!result.addNodeToListBasedTestResult(element(), localLayoutPoint)) |
+ if (result.addNodeToListBasedTestResult(element(), localLayoutPoint) == StopHitTesting) |
return true; |
} |