1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:47:46 +00:00

LibWeb: Don't allow setting Range start/end to document being destroyed

This commit is contained in:
Andreas Kling 2022-03-21 20:37:49 +01:00
parent 3b6323340a
commit ac8a8459d0
2 changed files with 9 additions and 0 deletions

View file

@ -338,6 +338,8 @@ public:
bool needs_full_style_update() const { return m_needs_full_style_update; }
void set_needs_full_style_update(bool b) { m_needs_full_style_update = b; }
bool in_removed_last_ref() const { return m_in_removed_last_ref; }
private:
explicit Document(const AK::URL&);