mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-05 16:14:38 +00:00
LibWeb: Update incorrect WEB_PLATFORM_OBJECT base class for two classes
This commit is contained in:
@@ -21,7 +21,7 @@ struct StaticRangeInit {
|
||||
};
|
||||
|
||||
class StaticRange final : public AbstractRange {
|
||||
WEB_PLATFORM_OBJECT(StaticRange, JS::Object);
|
||||
WEB_PLATFORM_OBJECT(StaticRange, AbstractRange);
|
||||
|
||||
public:
|
||||
static WebIDL::ExceptionOr<StaticRange*> construct_impl(JS::Realm&, StaticRangeInit& init);
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Web::DOM {
|
||||
|
||||
// https://dom.spec.whatwg.org/#treewalker
|
||||
class TreeWalker final : public Bindings::PlatformObject {
|
||||
WEB_PLATFORM_OBJECT(TreeWalker, JS::Object);
|
||||
WEB_PLATFORM_OBJECT(TreeWalker, Bindings::PlatformObject);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<TreeWalker> create(Node& root, unsigned what_to_show, JS::GCPtr<NodeFilter>);
|
||||
|
||||
Reference in New Issue
Block a user