diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-10-09 21:52:38 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-10-09 21:52:38 +0200 |
commit | a2598322664a1780bdd13d9459a23c15044ff215 (patch) | |
tree | f60dc9bebae6457b087fc893b869671319dc8a07 | |
parent | 159507f2a6a3a8b4ffd2eab68e26c7ec86197420 (diff) | |
download | serenity-a2598322664a1780bdd13d9459a23c15044ff215.zip |
LibHTML: Document::detach_from_frame() should actually detach
-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 |