1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:37:36 +00:00

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
parent 1333fa7cf7
commit 735829f694
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: