diff options
author | Andreas Kling <kling@serenityos.org> | 2020-03-18 11:26:31 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-18 11:26:31 +0100 |
commit | 01408a511f7fff75d37691f97367ca54957abed9 (patch) | |
tree | 483b711b81c44148be494e8eab92b7876bbc301c /Libraries/LibWeb/CSS | |
parent | ddd69e36602ffd66176c0a938620f0d19a8e89f4 (diff) | |
download | serenity-01408a511f7fff75d37691f97367ca54957abed9.zip |
LibWeb: Don't try to repaint frameless documents in CSSStyleValue
Diffstat (limited to 'Libraries/LibWeb/CSS')
-rw-r--r-- | Libraries/LibWeb/CSS/StyleValue.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibWeb/CSS/StyleValue.cpp b/Libraries/LibWeb/CSS/StyleValue.cpp index 36b5e23644..19472a1cfe 100644 --- a/Libraries/LibWeb/CSS/StyleValue.cpp +++ b/Libraries/LibWeb/CSS/StyleValue.cpp @@ -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({}); }); } |