LibWeb/SVG: Make SVGClipPathElement inherit from SVGGraphicsElement

This commit is contained in:
Gingeh 2025-01-08 14:44:00 +11:00 committed by Alexander Kalenik
commit 3f8d4c2c92
Notes: github-actions[bot] 2025-02-01 12:40:00 +00:00
2 changed files with 4 additions and 4 deletions

View file

@ -8,13 +8,14 @@
#include <LibWeb/SVG/AttributeParser.h>
#include <LibWeb/SVG/SVGElement.h>
#include <LibWeb/SVG/SVGGraphicsElement.h>
#include <LibWeb/SVG/SVGViewport.h>
namespace Web::SVG {
class SVGClipPathElement final : public SVGElement
class SVGClipPathElement final : public SVGGraphicsElement
, public SVGViewport {
WEB_PLATFORM_OBJECT(SVGClipPathElement, SVGElement);
WEB_PLATFORM_OBJECT(SVGClipPathElement, SVGGraphicsElement);
GC_DECLARE_ALLOCATOR(SVGClipPathElement);
public:
@ -48,5 +49,4 @@ private:
Optional<ClipPathUnits> m_clip_path_units = {};
};
}