mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +00:00
LibWeb: Move StackingContext and PaintPhase into the Painting namespace
This commit is contained in:
@@ -19,14 +19,14 @@ SVGGeometryBox::SVGGeometryBox(DOM::Document& document, SVG::SVGGeometryElement&
|
||||
{
|
||||
}
|
||||
|
||||
void SVGGeometryBox::paint(PaintContext& context, PaintPhase phase)
|
||||
void SVGGeometryBox::paint(PaintContext& context, Painting::PaintPhase phase)
|
||||
{
|
||||
if (!is_visible())
|
||||
return;
|
||||
|
||||
SVGGraphicsBox::paint(context, phase);
|
||||
|
||||
if (phase != PaintPhase::Foreground)
|
||||
if (phase != Painting::PaintPhase::Foreground)
|
||||
return;
|
||||
|
||||
auto& geometry_element = dom_node();
|
||||
|
||||
Reference in New Issue
Block a user