mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Define SVGImageElement destructor for Core::Timer forward decl
This fixes a "error: member access into incomplete type 'Core::Timer'" build error on clang-cl Windows.
This commit is contained in:
parent
1bcc489310
commit
eb4ff07d83
Notes:
github-actions[bot]
2025-11-06 12:11:21 +00:00
Author: https://github.com/ayeteadoe
Commit: eb4ff07d83
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6714
2 changed files with 4 additions and 0 deletions
|
|
@ -27,6 +27,8 @@ SVGImageElement::SVGImageElement(DOM::Document& document, DOM::QualifiedName qua
|
|||
m_animation_timer->on_timeout = [this] { animate(); };
|
||||
}
|
||||
|
||||
SVGImageElement::~SVGImageElement() = default;
|
||||
|
||||
void SVGImageElement::initialize(JS::Realm& realm)
|
||||
{
|
||||
WEB_SET_PROTOTYPE_FOR_INTERFACE(SVGImageElement);
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ class SVGImageElement final
|
|||
WEB_PLATFORM_OBJECT(SVGImageElement, SVGGraphicsElement);
|
||||
|
||||
public:
|
||||
~SVGImageElement();
|
||||
|
||||
virtual void attribute_changed(FlyString const& name, Optional<String> const& old_value, Optional<String> const& value, Optional<FlyString> const& namespace_) override;
|
||||
|
||||
GC::Ref<SVG::SVGAnimatedLength> x();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue