LibWeb: Make Window.getSelection() forward to Document.getSelection()

(And have document create the Selection object on demand.)
This commit is contained in:
Andreas Kling 2022-10-10 21:23:03 +02:00
commit a2348ebcc0
Notes: sideshowbarker 2024-07-17 21:11:12 +09:00
4 changed files with 24 additions and 10 deletions

View file

@ -102,8 +102,6 @@ public:
int screen_x() const;
int screen_y() const;
Selection::Selection* get_selection_impl();
JS::NonnullGCPtr<HTML::Storage> local_storage();
JS::NonnullGCPtr<HTML::Storage> session_storage();