LibWeb: Allow moving document load event delayers

This allows us to store lists of delayers.
This commit is contained in:
Timothy Flynn 2025-05-22 12:15:04 -04:00 committed by Tim Flynn
commit 874e094ed8
Notes: github-actions[bot] 2025-05-22 21:45:58 +00:00
2 changed files with 20 additions and 2 deletions

View file

@ -13,11 +13,14 @@
namespace Web::DOM {
class DocumentLoadEventDelayer {
AK_MAKE_NONMOVABLE(DocumentLoadEventDelayer);
AK_MAKE_NONCOPYABLE(DocumentLoadEventDelayer);
public:
explicit DocumentLoadEventDelayer(Document&);
DocumentLoadEventDelayer(DocumentLoadEventDelayer&&);
DocumentLoadEventDelayer& operator=(DocumentLoadEventDelayer&&);
~DocumentLoadEventDelayer();
private: