mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
LibWeb: Move StackingContext and PaintPhase into the Painting namespace
This commit is contained in:
parent
a4d51b3dc2
commit
f0d833a3d7
41 changed files with 105 additions and 103 deletions
|
@ -32,11 +32,11 @@ void FrameBox::prepare_for_replaced_layout()
|
|||
set_intrinsic_height(dom_node().attribute(HTML::AttributeNames::height).to_int().value_or(150));
|
||||
}
|
||||
|
||||
void FrameBox::paint(PaintContext& context, PaintPhase phase)
|
||||
void FrameBox::paint(PaintContext& context, Painting::PaintPhase phase)
|
||||
{
|
||||
ReplacedBox::paint(context, phase);
|
||||
|
||||
if (phase == PaintPhase::Foreground) {
|
||||
if (phase == Painting::PaintPhase::Foreground) {
|
||||
auto* hosted_document = dom_node().content_document_without_origin_check();
|
||||
if (!hosted_document)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue