mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibWeb: Use Layout::Box::paint_box() accessor in more places
This commit is contained in:
@@ -190,7 +190,7 @@ void ConnectionFromClient::debug_request(const String& request, const String& ar
|
||||
if (request == "dump-stacking-context-tree") {
|
||||
if (auto* doc = page().top_level_browsing_context().active_document()) {
|
||||
if (auto* icb = doc->layout_node()) {
|
||||
if (auto* stacking_context = icb->m_paint_box->stacking_context())
|
||||
if (auto* stacking_context = icb->paint_box()->stacking_context())
|
||||
stacking_context->dump();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user