| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
|
| index b1bb585eee4cd2af9d8ff86bf933c7a12d2cac5d..37d20395707b5868ca0c61308cee6b86dc5d7bf1 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
|
| @@ -174,7 +174,7 @@ bool LayoutSVGContainer::nodeAtFloatPoint(HitTestResult& result, const FloatPoin
|
| if (child->nodeAtFloatPoint(result, localPoint, hitTestAction)) {
|
| const LayoutPoint& localLayoutPoint = roundedLayoutPoint(localPoint);
|
| updateHitTestResult(result, localLayoutPoint);
|
| - if (!result.addNodeToListBasedTestResult(child->node(), localLayoutPoint))
|
| + if (result.addNodeToListBasedTestResult(child->node(), localLayoutPoint) == StopHitTesting)
|
| return true;
|
| }
|
| }
|
| @@ -185,7 +185,7 @@ bool LayoutSVGContainer::nodeAtFloatPoint(HitTestResult& result, const FloatPoin
|
| if (objectBoundingBox().contains(localPoint)) {
|
| const LayoutPoint& localLayoutPoint = roundedLayoutPoint(localPoint);
|
| updateHitTestResult(result, localLayoutPoint);
|
| - if (!result.addNodeToListBasedTestResult(element(), localLayoutPoint))
|
| + if (result.addNodeToListBasedTestResult(element(), localLayoutPoint) == StopHitTesting)
|
| return true;
|
| }
|
| }
|
|
|