| Index: Source/core/layout/svg/LayoutSVGForeignObject.cpp
|
| diff --git a/Source/core/layout/svg/LayoutSVGForeignObject.cpp b/Source/core/layout/svg/LayoutSVGForeignObject.cpp
|
| index 3cfa30a0ec7f4b2a036086047b451f6944bd9203..53505903ced833e27bc66695d09ece1e11e288d9 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);
|
| }
|
|
|
| }
|
|
|