1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:37:35 +00:00

LibWeb: Move PaintPhase enum out of Layout::Node

Now it's just Layout::PaintPhase instead of Layout::Node::PaintPhase.
This commit is contained in:
Andreas Kling 2020-12-03 19:15:27 +01:00
parent d6c2a61fa1
commit d129e68da8
4 changed files with 11 additions and 10 deletions

View file

@ -47,7 +47,7 @@ StackingContext::StackingContext(Box& box, StackingContext* parent)
}
}
void StackingContext::paint(PaintContext& context, Node::PaintPhase phase)
void StackingContext::paint(PaintContext& context, PaintPhase phase)
{
if (!m_box.is_root()) {
m_box.paint(context, phase);

View file

@ -38,7 +38,7 @@ public:
StackingContext* parent() { return m_parent; }
const StackingContext* parent() const { return m_parent; }
void paint(PaintContext&, Layout::Node::PaintPhase);
void paint(PaintContext&, PaintPhase);
HitTestResult hit_test(const Gfx::IntPoint&, HitTestType) const;
void dump(int indent = 0) const;