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

WebContent: Fill OOPWV with palette base color when there's no content

This commit is contained in:
Andreas Kling 2022-03-23 17:27:20 +01:00
parent fb9ee26c43
commit ca85ac26d4

View file

@ -84,7 +84,7 @@ void PageHost::paint(const Gfx::IntRect& content_rect, Gfx::Bitmap& target)
auto* layout_root = this->layout_root();
if (!layout_root) {
painter.fill_rect(bitmap_rect, Color::White);
painter.fill_rect(bitmap_rect, palette().base());
return;
}