mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
LibWeb: Update incorrect WEB_PLATFORM_OBJECT base class for two classes
This commit is contained in:
parent
b1f8c5879f
commit
00a98c24a2
Notes:
sideshowbarker
2024-07-17 03:51:01 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/00a98c24a2 Pull-request: https://github.com/SerenityOS/serenity/pull/16249 Reviewed-by: https://github.com/AnthonyIacono Reviewed-by: https://github.com/AtkinsSJ ✅
@ -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>);
|
||||
|
Loading…
Reference in New Issue
Block a user