1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 16:45:08 +00:00

LibWeb: Don't try to repaint frameless documents in CSSStyleValue

This commit is contained in:
Andreas Kling 2020-03-18 11:26:31 +01:00
parent ddd69e3660
commit 01408a511f

View file

@ -75,7 +75,8 @@ ImageStyleValue::ImageStyleValue(const URL& url, Document& document)
if (!m_bitmap) if (!m_bitmap)
return; return;
// FIXME: Do less than a full repaint if possible? // FIXME: Do less than a full repaint if possible?
m_document->frame()->set_needs_display({}); if (m_document->frame())
m_document->frame()->set_needs_display({});
}); });
} }