LibWeb: Use correct arguments in WEB_PLATFORM_OBJECT invocations

The base class should be the second argument, and must be the immediate
base class (not the grandparent).
This commit is contained in:
Timothy Flynn 2023-01-09 21:51:45 -05:00 committed by Andreas Kling
parent 1d7f44b629
commit 59104262a4
Notes: sideshowbarker 2024-07-17 04:03:27 +09:00
4 changed files with 4 additions and 4 deletions

View file

@ -12,7 +12,7 @@
namespace Web::DOM {
class CDATASection final : public Text {
WEB_PLATFORM_OBJECT(Text, CDATASection);
WEB_PLATFORM_OBJECT(CDATASection, Text);
public:
virtual ~CDATASection() override;

View file

@ -12,7 +12,7 @@
namespace Web::SVG {
class SVGCircleElement final : public SVGGeometryElement {
WEB_PLATFORM_OBJECT(SVGCircleElement, SVGGraphicsElement);
WEB_PLATFORM_OBJECT(SVGCircleElement, SVGGeometryElement);
public:
virtual ~SVGCircleElement() override = default;

View file

@ -12,7 +12,7 @@
namespace Web::SVG {
class SVGEllipseElement final : public SVGGeometryElement {
WEB_PLATFORM_OBJECT(SVGEllipseElement, SVGGraphicsElement);
WEB_PLATFORM_OBJECT(SVGEllipseElement, SVGGeometryElement);
public:
virtual ~SVGEllipseElement() override = default;

View file

@ -12,7 +12,7 @@
namespace Web::SVG {
class SVGLineElement final : public SVGGeometryElement {
WEB_PLATFORM_OBJECT(SVGLineElement, SVGGraphicsElement);
WEB_PLATFORM_OBJECT(SVGLineElement, SVGGeometryElement);
public:
virtual ~SVGLineElement() override = default;