summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Painting/RadioButtonPaintable.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-05-27 18:37:02 +0200
committerAndreas Kling <kling@serenityos.org>2023-05-27 18:38:40 +0200
commit33500bb6dbbeddc36ad8c12643a5a536e3a78ec9 (patch)
treef6319e7cf4a140483218b8d0b6f4942ee29a097a /Userland/Libraries/LibWeb/Painting/RadioButtonPaintable.cpp
parentf07ac8f20ab9005852162d1f1be33d74a39bf3d1 (diff)
downloadserenity-33500bb6dbbeddc36ad8c12643a5a536e3a78ec9.zip
LibWeb: Protect against null deref during Web::Page initialization
BrowsingContext::set_active_document() may end up asking for the Page's top level browsing context before Page has one. Do a workaround for now where we have an API to ask if it's initialized. Long-term we should find a cleaner solution.
Diffstat (limited to 'Userland/Libraries/LibWeb/Painting/RadioButtonPaintable.cpp')
0 files changed, 0 insertions, 0 deletions