mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 16:19:23 +00:00
LibWeb: Don't try to repaint frameless documents in CSSStyleValue
This commit is contained in:
parent
ddd69e3660
commit
01408a511f
Notes:
sideshowbarker
2024-07-19 08:15:45 +09:00
Author: https://github.com/awesomekling
Commit: 01408a511f
1 changed files with 2 additions and 1 deletions
|
@ -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({});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue