mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00
LibWeb: Use Layout::Box::paint_box() accessor in more places
This commit is contained in:
parent
02b316fd5c
commit
9461e44afa
22 changed files with 60 additions and 61 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue