diff options
-rw-r--r-- | Libraries/LibHTML/DOM/Document.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibHTML/DOM/Document.cpp b/Libraries/LibHTML/DOM/Document.cpp index fd6b5a1cd3..3312f2c21c 100644 --- a/Libraries/LibHTML/DOM/Document.cpp +++ b/Libraries/LibHTML/DOM/Document.cpp @@ -84,6 +84,7 @@ void Document::attach_to_frame(Badge<Frame>, Frame& frame) void Document::detach_from_frame(Badge<Frame>, Frame&) { + m_frame = nullptr; } Color Document::background_color() const |