summaryrefslogtreecommitdiff
path: root/Libraries/LibHTML/DOM/Document.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-10-09 21:52:38 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-10-09 21:52:38 +0200
commita2598322664a1780bdd13d9459a23c15044ff215 (patch)
treef60dc9bebae6457b087fc893b869671319dc8a07 /Libraries/LibHTML/DOM/Document.cpp
parent159507f2a6a3a8b4ffd2eab68e26c7ec86197420 (diff)
downloadserenity-a2598322664a1780bdd13d9459a23c15044ff215.zip
LibHTML: Document::detach_from_frame() should actually detach
Diffstat (limited to 'Libraries/LibHTML/DOM/Document.cpp')
-rw-r--r--Libraries/LibHTML/DOM/Document.cpp1
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