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 bb8201dfdf60e8599286b6705cbfd083485d7065..06847446c5019a47dab5033bf032266f1ea84e31 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; |
} |