mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:27:45 +00:00
WebContent: Fill OOPWV with palette base color when there's no content
This commit is contained in:
parent
fb9ee26c43
commit
ca85ac26d4
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ void PageHost::paint(const Gfx::IntRect& content_rect, Gfx::Bitmap& target)
|
||||||
|
|
||||||
auto* layout_root = this->layout_root();
|
auto* layout_root = this->layout_root();
|
||||||
if (!layout_root) {
|
if (!layout_root) {
|
||||||
painter.fill_rect(bitmap_rect, Color::White);
|
painter.fill_rect(bitmap_rect, palette().base());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue