mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:57:45 +00:00
LibWeb: Return JS::NonnullGCPtr<StaticRange> instead of StaticRange*
This commit is contained in:
parent
6516329867
commit
fb3294863e
2 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ class StaticRange final : public AbstractRange {
|
|||
WEB_PLATFORM_OBJECT(StaticRange, AbstractRange);
|
||||
|
||||
public:
|
||||
static WebIDL::ExceptionOr<StaticRange*> construct_impl(JS::Realm&, StaticRangeInit& init);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<StaticRange>> construct_impl(JS::Realm&, StaticRangeInit& init);
|
||||
|
||||
StaticRange(Node& start_container, u32 start_offset, Node& end_container, u32 end_offset);
|
||||
virtual ~StaticRange() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue