mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:37:46 +00:00
LibWeb: Make AbstractRange and subclasses GC-allocated
This commit is contained in:
parent
7c3db526b0
commit
bb547ce1c4
19 changed files with 111 additions and 64 deletions
|
@ -7,6 +7,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/RefPtr.h>
|
||||
#include <LibJS/Heap/GCPtr.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
#include <LibWeb/Layout/Node.h>
|
||||
|
||||
|
@ -48,7 +49,7 @@ public:
|
|||
|
||||
LayoutRange normalized() const;
|
||||
|
||||
NonnullRefPtr<DOM::Range> to_dom_range() const;
|
||||
JS::NonnullGCPtr<DOM::Range> to_dom_range() const;
|
||||
|
||||
private:
|
||||
LayoutPosition m_start;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue