mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
LibWeb: Don't try to repaint frameless documents in CSSStyleValue
This commit is contained in:
@@ -75,7 +75,8 @@ ImageStyleValue::ImageStyleValue(const URL& url, Document& document)
|
||||
if (!m_bitmap)
|
||||
return;
|
||||
// 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({});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user