mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 02:37:35 +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
|
@ -48,7 +48,7 @@ String Selection::type() const
|
|||
TODO();
|
||||
}
|
||||
|
||||
NonnullRefPtr<DOM::Range> Selection::get_range_at(unsigned index)
|
||||
DOM::Range* Selection::get_range_at(unsigned index)
|
||||
{
|
||||
(void)index;
|
||||
TODO();
|
||||
|
|
|
@ -27,7 +27,7 @@ public:
|
|||
bool is_collapsed() const;
|
||||
unsigned range_count() const;
|
||||
String type() const;
|
||||
NonnullRefPtr<DOM::Range> get_range_at(unsigned index);
|
||||
DOM::Range* get_range_at(unsigned index);
|
||||
void add_range(DOM::Range&);
|
||||
void remove_range(DOM::Range&);
|
||||
void remove_all_ranges();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue