mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:57:45 +00:00
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:
parent
1d7f44b629
commit
59104262a4
4 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@
|
||||||
namespace Web::DOM {
|
namespace Web::DOM {
|
||||||
|
|
||||||
class CDATASection final : public Text {
|
class CDATASection final : public Text {
|
||||||
WEB_PLATFORM_OBJECT(Text, CDATASection);
|
WEB_PLATFORM_OBJECT(CDATASection, Text);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~CDATASection() override;
|
virtual ~CDATASection() override;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
namespace Web::SVG {
|
namespace Web::SVG {
|
||||||
|
|
||||||
class SVGCircleElement final : public SVGGeometryElement {
|
class SVGCircleElement final : public SVGGeometryElement {
|
||||||
WEB_PLATFORM_OBJECT(SVGCircleElement, SVGGraphicsElement);
|
WEB_PLATFORM_OBJECT(SVGCircleElement, SVGGeometryElement);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~SVGCircleElement() override = default;
|
virtual ~SVGCircleElement() override = default;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
namespace Web::SVG {
|
namespace Web::SVG {
|
||||||
|
|
||||||
class SVGEllipseElement final : public SVGGeometryElement {
|
class SVGEllipseElement final : public SVGGeometryElement {
|
||||||
WEB_PLATFORM_OBJECT(SVGEllipseElement, SVGGraphicsElement);
|
WEB_PLATFORM_OBJECT(SVGEllipseElement, SVGGeometryElement);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~SVGEllipseElement() override = default;
|
virtual ~SVGEllipseElement() override = default;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
namespace Web::SVG {
|
namespace Web::SVG {
|
||||||
|
|
||||||
class SVGLineElement final : public SVGGeometryElement {
|
class SVGLineElement final : public SVGGeometryElement {
|
||||||
WEB_PLATFORM_OBJECT(SVGLineElement, SVGGraphicsElement);
|
WEB_PLATFORM_OBJECT(SVGLineElement, SVGGeometryElement);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~SVGLineElement() override = default;
|
virtual ~SVGLineElement() override = default;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue