Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp |
index 4ad3cc2fae9738022f54e5f9f5230e7b81b5132c..aa62500ffae930f7266d72078e0cbd545a17c444 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp |
@@ -129,7 +129,7 @@ bool LayoutSVGImage::nodeAtFloatPoint(HitTestResult& result, const FloatPoint& p |
if (m_objectBoundingBox.contains(localPoint)) { |
const LayoutPoint& localLayoutPoint = roundedLayoutPoint(localPoint); |
updateHitTestResult(result, localLayoutPoint); |
- if (!result.addNodeToListBasedTestResult(element(), localLayoutPoint)) |
+ if (result.addNodeToListBasedTestResult(element(), localLayoutPoint) == StopHitTesting) |
return true; |
} |
} |