mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:08:13 +00:00
LibWeb/Layout: Rename BlockContainer::paint{_box => able_with_lines}()
It returns a PaintableBox (a PaintableWithLines, to be specific), not a 'PaintBox'. paintable_box() without the cast is already available through BlockContainer's Box base class, we don't need to shadow it.
This commit is contained in:
parent
d58b671ff6
commit
a75915f055
8 changed files with 22 additions and 22 deletions
|
@ -352,7 +352,7 @@ void ConnectionFromClient::debug_request(DeprecatedString const& request, Deprec
|
|||
if (request == "dump-stacking-context-tree") {
|
||||
if (auto* doc = page().top_level_browsing_context().active_document()) {
|
||||
if (auto* viewport = doc->layout_node()) {
|
||||
if (auto* stacking_context = viewport->paint_box()->stacking_context())
|
||||
if (auto* stacking_context = viewport->paintable_box()->stacking_context())
|
||||
stacking_context->dump();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue