mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:17:34 +00:00
LibWeb: Make factory method of CSS::StyleSheetList fallible
This commit is contained in:
parent
57c34e6325
commit
719839b882
3 changed files with 4 additions and 4 deletions
|
@ -2046,7 +2046,7 @@ void Document::set_window(Badge<HTML::BrowsingContext>, HTML::Window& window)
|
|||
CSS::StyleSheetList& Document::style_sheets()
|
||||
{
|
||||
if (!m_style_sheets)
|
||||
m_style_sheets = CSS::StyleSheetList::create(*this);
|
||||
m_style_sheets = CSS::StyleSheetList::create(*this).release_value_but_fixme_should_propagate_errors();
|
||||
return *m_style_sheets;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue