mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 07:38:10 +00:00
LibWeb: Make StackingContext paint functions const
This commit is contained in:
parent
f0d833a3d7
commit
cc8e429126
2 changed files with 6 additions and 6 deletions
|
@ -34,8 +34,8 @@ public:
|
|||
FocusAndOverlay,
|
||||
};
|
||||
|
||||
void paint_descendants(PaintContext&, Layout::Node&, StackingContextPaintPhase);
|
||||
void paint(PaintContext&);
|
||||
void paint_descendants(PaintContext&, Layout::Node&, StackingContextPaintPhase) const;
|
||||
void paint(PaintContext&) const;
|
||||
Layout::HitTestResult hit_test(Gfx::IntPoint const&, Layout::HitTestType) const;
|
||||
|
||||
void dump(int indent = 0) const;
|
||||
|
@ -45,7 +45,7 @@ private:
|
|||
StackingContext* const m_parent { nullptr };
|
||||
Vector<StackingContext*> m_children;
|
||||
|
||||
void paint_internal(PaintContext&);
|
||||
void paint_internal(PaintContext&) const;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue