1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-28 21:22:08 +00:00

LibWeb: Rename InitialContainingBlockBox => InitialContainingBlock

The "Box" suffix added nothing here.
This commit is contained in:
Andreas Kling 2021-09-08 11:27:46 +02:00
parent e90ccf6a20
commit e91edcaa28
31 changed files with 71 additions and 71 deletions

View file

@ -8,7 +8,7 @@
#include <LibGfx/Painter.h>
#include <LibWeb/DOM/Document.h>
#include <LibWeb/Layout/FrameBox.h>
#include <LibWeb/Layout/InitialContainingBlockBox.h>
#include <LibWeb/Layout/InitialContainingBlock.h>
#include <LibWeb/Page/BrowsingContext.h>
namespace Web::Layout {
@ -52,7 +52,7 @@ void FrameBox::paint(PaintContext& context, PaintPhase phase)
context.painter().translate(absolute_x(), absolute_y());
context.set_viewport_rect({ {}, dom_node().nested_browsing_context()->size() });
const_cast<Layout::InitialContainingBlockBox*>(hosted_layout_tree)->paint_all_phases(context);
const_cast<Layout::InitialContainingBlock*>(hosted_layout_tree)->paint_all_phases(context);
context.set_viewport_rect(old_viewport_rect);
context.painter().restore();