From ca85ac26d4063bd0ad1be2b80277d9af4cb8944a Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 23 Mar 2022 17:27:20 +0100 Subject: WebContent: Fill OOPWV with palette base color when there's no content --- Userland/Services/WebContent/PageHost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Services/WebContent/PageHost.cpp b/Userland/Services/WebContent/PageHost.cpp index c962f99e82..b5d22f0418 100644 --- a/Userland/Services/WebContent/PageHost.cpp +++ b/Userland/Services/WebContent/PageHost.cpp @@ -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; } -- cgit v1.2.3