LibWeb: Move painting of background images to common location

For now, painting of background color is kept separate. The ICB needs to
perform a "translate" call between painting the color and background,
whereas other divs must not make that call.
This commit is contained in:
Timothy Flynn 2021-04-04 18:04:38 -04:00 committed by Andreas Kling
commit 735829f694
Notes: sideshowbarker 2024-07-18 20:45:21 +09:00
3 changed files with 32 additions and 43 deletions

View file

@ -153,6 +153,8 @@ protected:
virtual void did_set_rect() { }
void paint_background_image(PaintContext&, const Gfx::Bitmap&, CSS::Repeat, Gfx::IntRect);
Vector<LineBox> m_line_boxes;
private: