mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
LibWeb: Make factory method of Selection::Selection fallible
This commit is contained in:
parent
d69e863286
commit
dcbe927b48
3 changed files with 4 additions and 4 deletions
|
@ -378,7 +378,7 @@ JS::GCPtr<Selection::Selection> Document::get_selection()
|
|||
}
|
||||
|
||||
if (!m_selection) {
|
||||
m_selection = Selection::Selection::create(realm(), *this);
|
||||
m_selection = Selection::Selection::create(realm(), *this).release_value_but_fixme_should_propagate_errors();
|
||||
}
|
||||
return m_selection;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue