| Index: Source/core/layout/svg/LayoutSVGForeignObject.cpp
|
| diff --git a/Source/core/layout/svg/LayoutSVGForeignObject.cpp b/Source/core/layout/svg/LayoutSVGForeignObject.cpp
|
| index f4e3b995478f3d9d727e76394f59c06375f6997a..04b65fba791940128c1dfbf1b0b249f7676a289a 100644
|
| --- a/Source/core/layout/svg/LayoutSVGForeignObject.cpp
|
| +++ b/Source/core/layout/svg/LayoutSVGForeignObject.cpp
|
| @@ -122,7 +122,7 @@ void LayoutSVGForeignObject::layout()
|
| SVGResourcesCache::clientLayoutChanged(this);
|
| }
|
|
|
| -bool LayoutSVGForeignObject::nodeAtFloatPoint(const HitTestRequest& request, HitTestResult& result, const FloatPoint& pointInParent, HitTestAction hitTestAction)
|
| +bool LayoutSVGForeignObject::nodeAtFloatPoint(HitTestResult& result, const FloatPoint& pointInParent, HitTestAction hitTestAction)
|
| {
|
| // Embedded content is drawn in the foreground phase.
|
| if (hitTestAction != HitTestForeground)
|
| @@ -140,9 +140,9 @@ bool LayoutSVGForeignObject::nodeAtFloatPoint(const HitTestRequest& request, Hit
|
|
|
| // FOs establish a stacking context, so we need to hit-test all layers.
|
| HitTestLocation hitTestLocation(roundedLayoutPoint(localPoint));
|
| - return LayoutBlock::nodeAtPoint(request, result, hitTestLocation, LayoutPoint(), HitTestForeground)
|
| - || LayoutBlock::nodeAtPoint(request, result, hitTestLocation, LayoutPoint(), HitTestFloat)
|
| - || LayoutBlock::nodeAtPoint(request, result, hitTestLocation, LayoutPoint(), HitTestChildBlockBackgrounds);
|
| + return LayoutBlock::nodeAtPoint(result, hitTestLocation, LayoutPoint(), HitTestForeground)
|
| + || LayoutBlock::nodeAtPoint(result, hitTestLocation, LayoutPoint(), HitTestFloat)
|
| + || LayoutBlock::nodeAtPoint(result, hitTestLocation, LayoutPoint(), HitTestChildBlockBackgrounds);
|
| }
|
|
|
| }
|
|
|