1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:17:36 +00:00

LibWeb: Rename remaining paint_box variables to paintable_box

These don't match the type name, which is confusing.
This commit is contained in:
Linus Groh 2023-04-20 16:02:16 +01:00 committed by Andreas Kling
parent a75915f055
commit 36d35c9c82
2 changed files with 38 additions and 38 deletions

View file

@ -726,8 +726,8 @@ void dump_tree(StringBuilder& builder, Painting::Paintable const& paintable, boo
builder.appendff("{}{} ({})", paintable.class_name(), color_off, paintable.layout_node().debug_description());
if (paintable.layout_node().is_box()) {
auto const& paint_box = static_cast<Painting::PaintableBox const&>(paintable);
builder.appendff(" {}", paint_box.absolute_border_box_rect());
auto const& paintable_box = static_cast<Painting::PaintableBox const&>(paintable);
builder.appendff(" {}", paintable_box.absolute_border_box_rect());
}
builder.append("\n"sv);
for (auto const* child = paintable.first_child(); child; child = child->next_sibling()) {