| Index: Source/core/layout/svg/LayoutSVGImage.cpp
|
| diff --git a/Source/core/layout/svg/LayoutSVGImage.cpp b/Source/core/layout/svg/LayoutSVGImage.cpp
|
| index 0dd4f20341e5d67850db498254ee5a7b99f7ba47..1682130e966bf8271c2e2b28d1279c6a32d5c8dc 100644
|
| --- a/Source/core/layout/svg/LayoutSVGImage.cpp
|
| +++ b/Source/core/layout/svg/LayoutSVGImage.cpp
|
| @@ -27,6 +27,7 @@
|
|
|
| #include "core/layout/svg/LayoutSVGImage.h"
|
|
|
| +#include "core/layout/HitTestResult.h"
|
| #include "core/layout/ImageQualityController.h"
|
| #include "core/layout/LayoutAnalyzer.h"
|
| #include "core/layout/LayoutImageResource.h"
|
| @@ -153,13 +154,13 @@ void LayoutSVGImage::paint(const PaintInfo& paintInfo, const LayoutPoint&)
|
| SVGImagePainter(*this).paint(paintInfo);
|
| }
|
|
|
| -bool LayoutSVGImage::nodeAtFloatPoint(const HitTestRequest& request, HitTestResult& result, const FloatPoint& pointInParent, HitTestAction hitTestAction)
|
| +bool LayoutSVGImage::nodeAtFloatPoint(HitTestResult& result, const FloatPoint& pointInParent, HitTestAction hitTestAction)
|
| {
|
| // We only draw in the forground phase, so we only hit-test then.
|
| if (hitTestAction != HitTestForeground)
|
| return false;
|
|
|
| - PointerEventsHitRules hitRules(PointerEventsHitRules::SVG_IMAGE_HITTESTING, request, style()->pointerEvents());
|
| + PointerEventsHitRules hitRules(PointerEventsHitRules::SVG_IMAGE_HITTESTING, result.hitTestRequest(), style()->pointerEvents());
|
| bool isVisible = (style()->visibility() == VISIBLE);
|
| if (isVisible || !hitRules.requireVisible) {
|
| FloatPoint localPoint;
|
|
|