mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
LibWeb: Make factory method of HTML::History fallible
This commit is contained in:
parent
3941e64fde
commit
2f4db60c08
3 changed files with 4 additions and 4 deletions
|
@ -2058,7 +2058,7 @@ CSS::StyleSheetList const& Document::style_sheets() const
|
|||
JS::NonnullGCPtr<HTML::History> Document::history()
|
||||
{
|
||||
if (!m_history)
|
||||
m_history = HTML::History::create(realm(), *this);
|
||||
m_history = HTML::History::create(realm(), *this).release_value_but_fixme_should_propagate_errors();
|
||||
return *m_history;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue